- or download this
var foo=0;
var bar=1;
var baz=2;
- or download this
$ js
js> load('jslint.js');
...
jslint: No problems found.
$
- or download this
open FILE, '<', "test.js";
while (<FILE>)
...
warn "printing END\n";
print $JSWRITE "END\n";
- or download this
$ ./jslint.pl
printing var foo=0;
...
printing var baz=3;
printing END
- or download this
...
write(4, "load(\'jslint.js\');\n", 19) = 19
...
write(4, "END\n", 4) = 4
close(4) = 0
read(5, <unfinished ...>
- or download this
write(4, "load(\'jslint.js\');\n", 19) = 19
open("test.js", O_RDONLY) = 3
...
close(4) = 0
close(5) = 0
wait4(8790, <unfinished ...>