test/script/basic/parser/useStrict.js.EXPECTED

Thu, 09 Mar 2017 10:25:09 -0800

author
asaha
date
Thu, 09 Mar 2017 10:25:09 -0800
changeset 2149
7355caa4e6cb
parent 0
b1a7da25b547
permissions
-rw-r--r--

Merge

     1 {
     2     "type": "Program",
     3     "body": [
     4         {
     5             "type": "ExpressionStatement",
     6             "expression": {
     7                 "type": "Literal",
     8                 "value": "use strict"
     9             }
    10         }
    11     ]
    12 }
    13 {
    14     "type": "Program",
    15     "body": [
    16         {
    17             "type": "FunctionDeclaration",
    18             "id": {
    19                 "type": "Identifier",
    20                 "name": "f"
    21             },
    22             "params": [],
    23             "defaults": [],
    24             "rest": null,
    25             "body": {
    26                 "type": "BlockStatement",
    27                 "body": [
    28                     {
    29                         "type": "ExpressionStatement",
    30                         "expression": {
    31                             "type": "Literal",
    32                             "value": "use strict"
    33                         }
    34                     }
    35                 ]
    36             },
    37             "generator": false,
    38             "expression": false
    39         }
    40     ]
    41 }

mercurial