nashorn/test/script/basic/parser/useStrict.js.EXPECTED
author hannesw
Mon, 14 Oct 2013 11:45:15 +0200
changeset 20943 183832541ef7
parent 19894 195477810711
permissions -rw-r--r--
8026016: too many relinks dominate avatar.js http benchmark Reviewed-by: sundar, jlaskey, attila

{
    "type": "Program",
    "body": [
        {
            "type": "ExpressionStatement",
            "expression": {
                "type": "Literal",
                "value": "use strict"
            }
        }
    ]
}
{
    "type": "Program",
    "body": [
        {
            "type": "FunctionDeclaration",
            "id": {
                "type": "Identifier",
                "name": "f"
            },
            "params": [],
            "defaults": [],
            "rest": null,
            "body": {
                "type": "BlockStatement",
                "body": [
                    {
                        "type": "ExpressionStatement",
                        "expression": {
                            "type": "Literal",
                            "value": "use strict"
                        }
                    }
                ]
            },
            "generator": false,
            "expression": false
        }
    ]
}