1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/script/basic/parser/useStrict.js.EXPECTED Wed Apr 27 01:36:41 2016 +0800 1.3 @@ -0,0 +1,41 @@ 1.4 +{ 1.5 + "type": "Program", 1.6 + "body": [ 1.7 + { 1.8 + "type": "ExpressionStatement", 1.9 + "expression": { 1.10 + "type": "Literal", 1.11 + "value": "use strict" 1.12 + } 1.13 + } 1.14 + ] 1.15 +} 1.16 +{ 1.17 + "type": "Program", 1.18 + "body": [ 1.19 + { 1.20 + "type": "FunctionDeclaration", 1.21 + "id": { 1.22 + "type": "Identifier", 1.23 + "name": "f" 1.24 + }, 1.25 + "params": [], 1.26 + "defaults": [], 1.27 + "rest": null, 1.28 + "body": { 1.29 + "type": "BlockStatement", 1.30 + "body": [ 1.31 + { 1.32 + "type": "ExpressionStatement", 1.33 + "expression": { 1.34 + "type": "Literal", 1.35 + "value": "use strict" 1.36 + } 1.37 + } 1.38 + ] 1.39 + }, 1.40 + "generator": false, 1.41 + "expression": false 1.42 + } 1.43 + ] 1.44 +}