-*- mode: org; coding: utf-8; -*- #+TITLE: Hacking GNU Guix and Its Incredible Distro Copyright © 2012, 2013, 2014, 2016, 2017, 2019 Ludovic Courtès Copyright © 2015, 2017 Mathieu Lirzin Copyright © 2017 Leo Famulari Copyright © 2017 Arun Isaac Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. * Contributing See the manual for useful hacking information, either by running info -f doc/guix.info "Contributing" or by checking the [[https://guix.gnu.org/manual/devel/en/html_node/Contributing.html][web copy of the manual]]. 'get'> Reverse engineer's tool for tracing the flow of data in JS program, based on UglifyJS
aboutsummaryrefslogtreecommitdiff
eval_let_6: {
    input: {
        eval("let a;");
        console.log();
    }
    expect: {
        eval("let a;");
        console.log();
    }
    expect_stdout: ""
    node_version: ">=6"
}

eval_let_4: {
    input: {
        eval("let a;");
        console.log();
    }
    expect: {
        eval("let a;");
        console.log();
    }
    expect_stdout: SyntaxError("Block-scoped declarations (let, const, function, class) not yet supported outside strict mode")
    node_version: "4"
}

eval_let_0: {
    input: {
        eval("let a;");
        console.log();
    }
    expect: {
        eval("let a;");
        console.log();
    }
    expect_stdout: SyntaxError("Unexpected identifier")
    node_version: "<=0.12"
}