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

Wed, 27 Apr 2016 01:36:41 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:36:41 +0800
changeset 0
b1a7da25b547
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/nashorn/
changeset: 1034:4b9cc65dd24d
tag: jdk8u25-b17

     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