Help for this page

Select Code to Download


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