{"size": 3129, "ext": "js", "max_stars_repo_path": "test/expression/array.js", "max_stars_repo_name": "yangzheli/a-simplified-parser", "max_stars_repo_stars_event_min_datetime": "2021-07-19T10:22:08.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-19T10:22:08.000Z", "max_issues_repo_path": "test/expression/array.js", "max_issues_repo_name": "yangzheli/a-simplified-parser", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/expression/array.js", "max_forks_repo_name": "yangzheli/a-simplified-parser", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.5786516854, "max_line_length": 46, "alphanum_fraction": 0.3589006072}
import { test } from "../test.js"

test("[]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": []
      }
    }
  ],
  "sourceType": "script"
})

test("[ ]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": []
      }
    }
  ],
  "sourceType": "script"
})

test("[ 42 ]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": [
          {
            "type": "Literal",
            "value": 42,
            "raw": "42"
          }
        ]
      }
    }
  ],
  "sourceType": "script"
})

test("[ 42, ]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": [
          {
            "type": "Literal",
            "value": 42,
            "raw": "42"
          }
        ]
      }
    }
  ],
  "sourceType": "script"
})

test("[ ,, 42 ]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": [
          null,
          null,
          {
            "type": "Literal",
            "value": 42,
            "raw": "42"
          }
        ]
      }
    }
  ],
  "sourceType": "script"
})

test("[ 1, 2, 3, ]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": [
          {
            "type": "Literal",
            "value": 1,
            "raw": "1"
          },
          {
            "type": "Literal",
            "value": 2,
            "raw": "2"
          },
          {
            "type": "Literal",
            "value": 3,
            "raw": "3"
          }
        ]
      }
    }
  ],
  "sourceType": "script"
})

test("[ 1, 2,, 3, ]", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrayExpression",
        "elements": [
          {
            "type": "Literal",
            "value": 1,
            "raw": "1"
          },
          {
            "type": "Literal",
            "value": 2,
            "raw": "2"
          },
          null,
          {
            "type": "Literal",
            "value": 3,
            "raw": "3"
          }
        ]
      }
    }
  ],
  "sourceType": "script"
})

test("日本語 = []", {
  "type": "Program",
  "body": [
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "AssignmentExpression",
        "operator": "=",
        "left": {
          "type": "Identifier",
          "name": "日本語"
        },
        "right": {
          "type": "ArrayExpression",
          "elements": []
        }
      }
    }
  ],
  "sourceType": "script"
})

// var source = 'T\u203F = []';
// var source = 'T\u200C = []';
// var source = '\u2163\u2161\u200A=\u2009[]';