{
"type": "Program",
"statements": [
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "test",
"loc": {
"start": {
"line": 16,
"column": 10
},
"end": {
"line": 16,
"column": 14
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ExpressionStatement",
"expression": {
"type": "ArrayExpression",
"elements": [
{
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 9
}
}
},
"loc": {
"start": {
"line": 17,
"column": 5
},
"end": {
"line": 17,
"column": 9
}
}
}
],
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 10
}
}
},
"right": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 14
}
}
},
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 14
}
}
}
],
"loc": {
"start": {
"line": 17,
"column": 3
},
"end": {
"line": 17,
"column": 15
}
}
},
"loc": {
"start": {
"line": 17,
"column": 3
},
"end": {
"line": 17,
"column": 16
}
}
}
],
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 18,
"column": 2
}
}
},
"loc": {
"start": {
"line": 16,
"column": 1
},
"end": {
"line": 18,
"column": 2
}
}
},
"loc": {
"start": {
"line": 16,
"column": 1
},
"end": {
"line": 18,
"column": 2
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "test0",
"loc": {
"start": {
"line": 20,
"column": 10
},
"end": {
"line": 20,
"column": 15
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ExpressionStatement",
"expression": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "StringLiteral",
"value": "b",
"loc": {
"start": {
"line": 21,
"column": 5
},
"end": {
"line": 21,
"column": 8
}
}
},
"value": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 16
}
}
},
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 16
}
}
}
],
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 17
}
}
},
"right": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 21
}
}
},
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 21
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 21,
"column": 5
},
"end": {
"line": 21,
"column": 21
}
}
}
],
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 22
}
}
}
],
"loc": {
"start": {
"line": 21,
"column": 3
},
"end": {
"line": 21,
"column": 23
}
}
},
"loc": {
"start": {
"line": 21,
"column": 3
},
"end": {
"line": 21,
"column": 24
}
}
}
],
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 22,
"column": 2
}
}
},
"loc": {
"start": {
"line": 20,
"column": 1
},
"end": {
"line": 22,
"column": 2
}
}
},
"loc": {
"start": {
"line": 20,
"column": 1
},
"end": {
"line": 22,
"column": 2
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "test1",
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 15
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ExpressionStatement",
"expression": {
"type": "ArrayExpression",
"elements": [
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 25,
"column": 5
},
"end": {
"line": 25,
"column": 6
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 9
}
}
}
],
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 11
}
}
},
{
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 25,
"column": 17
},
"end": {
"line": 25,
"column": 18
}
}
},
"loc": {
"start": {
"line": 25,
"column": 14
},
"end": {
"line": 25,
"column": 18
}
}
}
],
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 19
}
}
},
"right": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 23
}
}
},
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 23
}
}
}
],
"loc": {
"start": {
"line": 25,
"column": 3
},
"end": {
"line": 25,
"column": 24
}
}
},
"loc": {
"start": {
"line": 25,
"column": 3
},
"end": {
"line": 25,
"column": 25
}
}
}
],
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 26,
"column": 2
}
}
},
"loc": {
"start": {
"line": 24,
"column": 1
},
"end": {
"line": 26,
"column": 2
}
}
},
"loc": {
"start": {
"line": 24,
"column": 1
},
"end": {
"line": 26,
"column": 2
}
}
},
{
"type": "FunctionDeclaration",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "test2",
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 15
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ExpressionStatement",
"expression": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 29,
"column": 7
},
"end": {
"line": 29,
"column": 8
}
}
},
{
"type": "SpreadElement",
"argument": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 15
}
}
},
"right": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 19
}
}
},
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 19
}
}
},
"loc": {
"start": {
"line": 29,
"column": 11
},
"end": {
"line": 29,
"column": 19
}
}
}
],
"loc": {
"start": {
"line": 29,
"column": 3
},
"end": {
"line": 29,
"column": 20
}
}
},
"loc": {
"start": {
"line": 29,
"column": 3
},
"end": {
"line": 29,
"column": 21
}
}
}
],
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 30,
"column": 2
}
}
},
"loc": {
"start": {
"line": 28,
"column": 1
},
"end": {
"line": 30,
"column": 2
}
}
},
"loc": {
"start": {
"line": 28,
"column": 1
},
"end": {
"line": 30,
"column": 2
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 30,
"column": 2
}
}
}