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: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 22:24:54 |
Calls: | 15,171 |
Files: | 19,858 |
Messages: | 1,692,279 |