var obj=load(new Object, "file_lib.js");
Re: exec/load/telnet_lib.js termcapture_lib.js
By: rswindell to CVS commit on Mon Aug 31 2015 01:12 pm
var obj=load(new Object, "file_lib.js");
Just a style nit, the prefered way to write "new Object" is "{}" (and it can also be written "new Object()").
Just a style nit, the prefered way to write "new Object" is "{}" (and it can also be written "new Object()").
Preferred by whom? I thought load({}, ...) was a bit too cryptic and non-obvious, but I don't really care.
Just a style nit, the prefered way to write "new Object" is "{}" (and it can also be written "new Object()").
Preferred by whom? I thought load({}, ...) was a bit too cryptic and non-obvious, but I don't really care.
Preferred by whom? I thought load({}, ...) was a bit too cryptic and non-obvious, but I don't really care.
Found a simple guide by Crockford (who apparently wrote both JSLint and
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 07:54:50 |
| Calls: | 15,499 |
| Calls today: | 1 |
| Files: | 20,143 |
| D/L today: |
8 files (310K bytes) |
| Messages: | 1,870,503 |