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

Wed, 18 Jun 2014 12:35:42 -0700

author
katleman
date
Wed, 18 Jun 2014 12:35:42 -0700
changeset 863
6e9c4e34bc61
parent 0
b1a7da25b547
permissions
-rw-r--r--

Added tag jdk8u20-b19 for changeset b047df215de4

     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