{
"type": "Program",
"statements": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var1",
"loc": {
"start": {
"line": 17,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var2",
"loc": {
"start": {
"line": 17,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 17,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 17,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 17,
"column": 21,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 17,
"column": 24,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 29,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 17,
"column": 31,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 35,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 17,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 17,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 17,
"column": 37,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var1",
"loc": {
"start": {
"line": 18,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 18,
"column": 5,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 18,
"column": 8,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 18,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 18,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 18,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 18,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 18,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var2",
"loc": {
"start": {
"line": 19,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 19,
"column": 5,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 19,
"column": 8,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 19,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 19,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 19,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 19,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 19,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var3",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 21,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 21,
"column": 17,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 21,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 21,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 21,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 21,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 21,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var4",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 22,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 22,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 22,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 22,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 22,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 22,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 22,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var3",
"loc": {
"start": {
"line": 23,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 23,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var4",
"loc": {
"start": {
"line": 23,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 23,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "Identifier",
"name": "var1",
"loc": {
"start": {
"line": 23,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 23,
"column": 29,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 30,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 23,
"column": 31,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 35,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 23,
"column": 22,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 23,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 23,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 23,
"column": 37,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var5",
"loc": {
"start": {
"line": 25,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 25,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 25,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 25,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 25,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 25,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 25,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 25,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 25,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var5",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 26,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 26,
"column": 17,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 26,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 26,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 26,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 26,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 26,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 26,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 26,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 26,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 26,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 26,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var6",
"loc": {
"start": {
"line": 28,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 28,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 28,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var7",
"loc": {
"start": {
"line": 28,
"column": 16,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "asd",
"loc": {
"start": {
"line": 28,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 28,
"column": 16,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var8",
"loc": {
"start": {
"line": 28,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 34,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 28,
"column": 37,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 28,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 28,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 42,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": {
"start": {
"line": 28,
"column": 45,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 47,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 28,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 47,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 28,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 28,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var6",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 29,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 29,
"column": 17,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 29,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 29,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 29,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 29,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 29,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 29,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var7",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 30,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 30,
"column": 17,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 30,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 30,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 30,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 30,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 30,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var8",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 31,
"column": 11,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 31,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 31,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 31,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 31,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 31,
"column": 9,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 31,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 31,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var9",
"loc": {
"start": {
"line": 33,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var10",
"loc": {
"start": {
"line": 33,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 33,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var11",
"loc": {
"start": {
"line": 33,
"column": 22,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 33,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var12",
"loc": {
"start": {
"line": 33,
"column": 33,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 38,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 38,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 33,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 39,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 33,
"column": 45,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 46,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 6,
"loc": {
"start": {
"line": 33,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 49,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 33,
"column": 45,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 49,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 33,
"column": 51,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 52,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 33,
"column": 54,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 59,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 33,
"column": 51,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 59,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 33,
"column": 43,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 61,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 42,
"loc": {
"start": {
"line": 33,
"column": 64,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 66,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 33,
"column": 68,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 69,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 33,
"column": 70,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 75,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 33,
"column": 78,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 79,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 70,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 79,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 33,
"column": 63,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 80,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 33,
"column": 42,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 81,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 81,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 33,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 33,
"column": 82,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var9",
"loc": {
"start": {
"line": 34,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 5,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 34,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 34,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 34,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 34,
"column": 16,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 17,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 34,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 34,
"column": 16,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 34,
"column": 8,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 34,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 34,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 34,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var10",
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 35,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "Identifier",
"name": "var3",
"loc": {
"start": {
"line": 35,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 35,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 35,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 35,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 35,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var11",
"loc": {
"start": {
"line": 36,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 36,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "Identifier",
"name": "var7",
"loc": {
"start": {
"line": 36,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 36,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 36,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 36,
"column": 13,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 36,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 36,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var12",
"loc": {
"start": {
"line": 37,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 37,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [],
"loc": {
"start": {
"line": 37,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 37,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 37,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 37,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 37,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 37,
"column": 12,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var13",
"loc": {
"start": {
"line": 39,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 39,
"column": 15,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 39,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 23,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var14",
"loc": {
"start": {
"line": 39,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var15",
"loc": {
"start": {
"line": 39,
"column": 34,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 39,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 26,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 39,
"column": 44,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 46,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 39,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 52,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 43,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 53,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 26,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 53,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var16",
"loc": {
"start": {
"line": 39,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 55,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 64,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 39,
"column": 68,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 69,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 39,
"column": 72,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 76,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 39,
"column": 78,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 80,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 71,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 81,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": null,
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSAnyKeyword",
"loc": {
"start": {
"line": 39,
"column": 96,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 99,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 93,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 94,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSAnyKeyword",
"loc": {
"start": {
"line": 39,
"column": 104,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 107,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 101,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 102,
"program": "arrayDestructuring.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 39,
"column": 110,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 116,
"program": "arrayDestructuring.ts"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ReturnStatement",
"argument": {
"type": "NumberLiteral",
"value": 12,
"loc": {
"start": {
"line": 39,
"column": 126,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 128,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 119,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 128,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 117,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 130,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 83,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 130,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 83,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 130,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 39,
"column": 132,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 137,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 39,
"column": 67,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 138,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 39,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 138,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 39,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 39,
"column": 139,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var13",
"loc": {
"start": {
"line": 40,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 40,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 40,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 40,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 40,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 40,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 40,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 40,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var13",
"loc": {
"start": {
"line": 41,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 41,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 41,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 41,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "baz",
"loc": {
"start": {
"line": 41,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 41,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 41,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 41,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 41,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 41,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 41,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 41,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var14",
"loc": {
"start": {
"line": 42,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 42,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 42,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 42,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 42,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 42,
"column": 12,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var14",
"loc": {
"start": {
"line": 43,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 43,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "BooleanLiteral",
"value": false,
"loc": {
"start": {
"line": 43,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 43,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 43,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 43,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 43,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 43,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "var15",
"loc": {
"start": {
"line": 44,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 44,
"column": 6,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "Identifier",
"name": "var14",
"loc": {
"start": {
"line": 44,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 44,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 44,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 44,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 44,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 44,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var16",
"typeAnnotation": {
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSFunctionType",
"params": [
{
"type": "Identifier",
"name": "a",
"typeAnnotation": {
"type": "TSAnyKeyword",
"loc": {
"start": {
"line": 45,
"column": 17,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "TSAnyKeyword",
"loc": {
"start": {
"line": 45,
"column": 25,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 22,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 23,
"program": "arrayDestructuring.ts"
}
}
}
],
"returnType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 45,
"column": 33,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 39,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 45,
"column": 41,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 45,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 45,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 45,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 45,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 45,
"column": 49,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var17",
"loc": {
"start": {
"line": 47,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var18",
"loc": {
"start": {
"line": 47,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 6,
"loc": {
"start": {
"line": 47,
"column": 21,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 47,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var19",
"loc": {
"start": {
"line": 47,
"column": 24,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 29,
"program": "arrayDestructuring.ts"
}
}
}
],
"typeAnnotation": {
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 47,
"column": 33,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 47,
"column": 41,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 47,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 47,
"column": 50,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 56,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 47,
"column": 41,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 57,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSArrayType",
"elementType": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 47,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 65,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 47,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 47,
"column": 32,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 47,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 30,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 47,
"column": 72,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 73,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 47,
"column": 75,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 80,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 47,
"column": 83,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 87,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": false,
"loc": {
"start": {
"line": 47,
"column": 89,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 94,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 47,
"column": 82,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 95,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 47,
"column": 71,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 96,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 47,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 96,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 47,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 47,
"column": 97,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var20",
"loc": {
"start": {
"line": 48,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 48,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var21",
"loc": {
"start": {
"line": 48,
"column": 15,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
}
],
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 48,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 29,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 48,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 31,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 48,
"column": 35,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 42,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 48,
"column": 43,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 50,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 48,
"column": 51,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 48,
"column": 34,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 48,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 48,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": {
"start": {
"line": 48,
"column": 61,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 48,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 48,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 48,
"column": 64,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var22",
"loc": {
"start": {
"line": 49,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var23",
"loc": {
"start": {
"line": 49,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 49,
"column": 24,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 49,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 49,
"column": 24,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 49,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 31,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 49,
"column": 33,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 38,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 49,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 38,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 22,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": false,
"loc": {
"start": {
"line": 49,
"column": 42,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 47,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 21,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var24",
"loc": {
"start": {
"line": 49,
"column": 50,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 55,
"program": "arrayDestructuring.ts"
}
}
}
],
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSArrayType",
"elementType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 49,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 64,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 49,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 66,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 49,
"column": 70,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 77,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSArrayType",
"elementType": {
"type": "TSParenthesizedType",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSTypeLiteral",
"members": [
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 49,
"column": 81,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 82,
"program": "arrayDestructuring.ts"
}
}
},
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 49,
"column": 84,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 90,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 81,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 91,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 49,
"column": 92,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 93,
"program": "arrayDestructuring.ts"
}
}
},
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 49,
"column": 95,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 101,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 92,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 103,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 79,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 103,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 49,
"column": 106,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 113,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 79,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 113,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 78,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 114,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 49,
"column": 78,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 117,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 69,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 117,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 117,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 56,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 49,
"column": 121,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 122,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 49,
"column": 127,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 128,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 49,
"column": 130,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 131,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 49,
"column": 127,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 131,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 49,
"column": 133,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 134,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "StringLiteral",
"value": "bat",
"loc": {
"start": {
"line": 49,
"column": 136,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 141,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 49,
"column": 133,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 141,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 125,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 143,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 49,
"column": 145,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 149,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 124,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 150,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 49,
"column": 120,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 151,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 49,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 151,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 49,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 49,
"column": 152,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var25",
"loc": {
"start": {
"line": 50,
"column": 7,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 12,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var26",
"loc": {
"start": {
"line": 50,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 50,
"column": 24,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 29,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 50,
"column": 31,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 34,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 50,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 34,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayPattern",
"elements": [
{
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var27",
"loc": {
"start": {
"line": 50,
"column": 38,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 43,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 37,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 44,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 36,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 45,
"program": "arrayDestructuring.ts"
}
}
}
],
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSArrayType",
"elementType": {
"type": "TSArrayType",
"elementType": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 50,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 54,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 50,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 56,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 50,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 50,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 60,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSUnionType",
"types": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 50,
"column": 65,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 71,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 50,
"column": 74,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 80,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 65,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 81,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSTypeLiteral",
"members": [],
"loc": {
"start": {
"line": 50,
"column": 82,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 85,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 64,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 86,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 50,
"column": 89,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 96,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 88,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 97,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 87,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 98,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 63,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 98,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 98,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 50,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 46,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 50,
"column": 103,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 104,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 50,
"column": 106,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 108,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 102,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 109,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 50,
"column": 113,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 114,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 112,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 115,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 111,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 116,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 50,
"column": 101,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 117,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 50,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 117,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 50,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 50,
"column": 118,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var28",
"loc": {
"start": {
"line": 51,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 51,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 51,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ObjectPattern",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"name": "var29",
"loc": {
"start": {
"line": 51,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "Identifier",
"name": "var29",
"loc": {
"start": {
"line": 51,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 51,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 51,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var30",
"loc": {
"start": {
"line": 51,
"column": 32,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 37,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 51,
"column": 29,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 37,
"program": "arrayDestructuring.ts"
}
}
}
],
"typeAnnotation": {
"type": "TSTupleType",
"elementTypes": [
{
"type": "TSTypeLiteral",
"members": [],
"loc": {
"start": {
"line": 51,
"column": 41,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 44,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSTypeLiteral",
"members": [
{
"type": "TSPropertySignature",
"computed": false,
"optional": false,
"readonly": false,
"key": {
"type": "Identifier",
"name": "var29",
"loc": {
"start": {
"line": 51,
"column": 47,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 52,
"program": "arrayDestructuring.ts"
}
}
},
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 51,
"column": 54,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 60,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 51,
"column": 47,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 62,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 51,
"column": 45,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 51,
"column": 64,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 71,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 51,
"column": 72,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 79,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 51,
"column": 40,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 79,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 51,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 38,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 51,
"column": 83,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 85,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "var29",
"loc": {
"start": {
"line": 51,
"column": 89,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 94,
"program": "arrayDestructuring.ts"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 51,
"column": 96,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 97,
"program": "arrayDestructuring.ts"
}
}
},
"kind": "init",
"loc": {
"start": {
"line": 51,
"column": 89,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 97,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 51,
"column": 87,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 99,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 51,
"column": 101,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 102,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 51,
"column": 104,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 109,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 51,
"column": 82,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 110,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 51,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 110,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 51,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 51,
"column": 111,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var31",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 53,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 53,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 53,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 53,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 53,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 53,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 53,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 53,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var32",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 54,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 54,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 54,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 54,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 54,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 54,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 54,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 54,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 56,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var32",
"loc": {
"start": {
"line": 56,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 56,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 56,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 56,
"column": 26,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 30,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 56,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 31,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 56,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 31,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 56,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 56,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 57,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 57,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 57,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 57,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 6,
"loc": {
"start": {
"line": 57,
"column": 22,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 23,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 57,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 57,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 57,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 57,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 58,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var32",
"loc": {
"start": {
"line": 58,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 58,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 58,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 58,
"column": 26,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 30,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": false,
"loc": {
"start": {
"line": 58,
"column": 32,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 37,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 58,
"column": 39,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 58,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 58,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 58,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 58,
"column": 42,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var33",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 60,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 60,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 60,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 60,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 60,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 60,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 60,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 60,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var34",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 61,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 61,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 61,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 61,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 61,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 61,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 61,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 61,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var33",
"loc": {
"start": {
"line": 63,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var34",
"loc": {
"start": {
"line": 63,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 63,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "Identifier",
"name": "var31",
"loc": {
"start": {
"line": 63,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var32",
"loc": {
"start": {
"line": 63,
"column": 26,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 31,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 63,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 63,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 63,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 63,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var35",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 65,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 65,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 65,
"column": 21,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 65,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 65,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 65,
"column": 27,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 65,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 65,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 65,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 65,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 65,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 65,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var35",
"loc": {
"start": {
"line": 67,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 67,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 67,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 67,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 12,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 67,
"column": 16,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 67,
"column": 15,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 67,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 67,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 67,
"column": 23,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var36",
"typeAnnotation": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 69,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 69,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 69,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 69,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 69,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 69,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 69,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 69,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var37",
"typeAnnotation": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 70,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 70,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 70,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 70,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 70,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 70,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 70,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 70,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var38",
"typeAnnotation": {
"type": "TSBooleanKeyword",
"loc": {
"start": {
"line": 71,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 71,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 71,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 71,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 71,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 71,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 71,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 71,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var36",
"loc": {
"start": {
"line": 72,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 72,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 72,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var37",
"loc": {
"start": {
"line": 72,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "asd",
"loc": {
"start": {
"line": 72,
"column": 21,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 72,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var38",
"loc": {
"start": {
"line": 72,
"column": 28,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "BooleanLiteral",
"value": true,
"loc": {
"start": {
"line": 72,
"column": 36,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 72,
"column": 28,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 72,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [],
"loc": {
"start": {
"line": 72,
"column": 44,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 46,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 72,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 46,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 72,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 72,
"column": 47,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var39",
"loc": {
"start": {
"line": 74,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 74,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 74,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 74,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 74,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 74,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 74,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 74,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var40",
"loc": {
"start": {
"line": 75,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 75,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "Identifier",
"name": "var33",
"loc": {
"start": {
"line": 75,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 75,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 75,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 75,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 75,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 75,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var41",
"loc": {
"start": {
"line": 76,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 76,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "Identifier",
"name": "var37",
"loc": {
"start": {
"line": 76,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 76,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 76,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 76,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 76,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 76,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var42",
"loc": {
"start": {
"line": 77,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 77,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": {
"start": {
"line": 77,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 77,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 77,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 77,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 77,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 77,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var39",
"loc": {
"start": {
"line": 78,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var40",
"loc": {
"start": {
"line": 78,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 78,
"column": 17,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var41",
"loc": {
"start": {
"line": 78,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 78,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 78,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 78,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var42",
"loc": {
"start": {
"line": 78,
"column": 38,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 43,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 78,
"column": 35,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 43,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 78,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 44,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 78,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 50,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 42,
"loc": {
"start": {
"line": 78,
"column": 53,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 55,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 78,
"column": 57,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 78,
"column": 59,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 64,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 78,
"column": 67,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 78,
"column": 59,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 78,
"column": 52,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 69,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 78,
"column": 47,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 70,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 78,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 70,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 78,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 78,
"column": 71,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var39",
"loc": {
"start": {
"line": 79,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var40",
"loc": {
"start": {
"line": 79,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 79,
"column": 17,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var41",
"loc": {
"start": {
"line": 79,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 79,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 79,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var42",
"loc": {
"start": {
"line": 79,
"column": 38,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 43,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 35,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 43,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 79,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 44,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 79,
"column": 48,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 50,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 42,
"loc": {
"start": {
"line": 79,
"column": 53,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 55,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 79,
"column": 57,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 79,
"column": 59,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 64,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 79,
"column": 67,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 59,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 79,
"column": 52,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 69,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 79,
"column": 71,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 72,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "baz",
"loc": {
"start": {
"line": 79,
"column": 74,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 79,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BooleanLiteral",
"value": false,
"loc": {
"start": {
"line": 79,
"column": 81,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 86,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 79,
"column": 47,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 87,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 87,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 79,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 79,
"column": 88,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var39",
"loc": {
"start": {
"line": 81,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var40",
"loc": {
"start": {
"line": 81,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 81,
"column": 17,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var41",
"loc": {
"start": {
"line": 81,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 81,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 81,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 81,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 45,
"loc": {
"start": {
"line": 81,
"column": 37,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 39,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 81,
"column": 41,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 42,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "baz",
"loc": {
"start": {
"line": 81,
"column": 43,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 81,
"column": 36,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 49,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 81,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 49,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var42",
"loc": {
"start": {
"line": 81,
"column": 54,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 59,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 81,
"column": 51,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 59,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 81,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 60,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 81,
"column": 64,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 66,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 42,
"loc": {
"start": {
"line": 81,
"column": 69,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 71,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 81,
"column": 73,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 74,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 81,
"column": 75,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 80,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 81,
"column": 83,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 84,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 81,
"column": 75,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 84,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 81,
"column": 68,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 85,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 81,
"column": 63,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 86,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 81,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 86,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 81,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 81,
"column": 87,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var43",
"loc": {
"start": {
"line": 83,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "TSAsExpression",
"expression": {
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 45,
"loc": {
"start": {
"line": 83,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 16,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 83,
"column": 18,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "baz",
"loc": {
"start": {
"line": 83,
"column": 20,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 25,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 83,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 26,
"program": "arrayDestructuring.ts"
}
}
},
"typeAnnotation": {
"type": "TSTypeReference",
"typeName": {
"type": "Identifier",
"name": "const",
"loc": {
"start": {
"line": 83,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 35,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 35,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 83,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 83,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 83,
"column": 36,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var44",
"loc": {
"start": {
"line": 85,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 85,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": {
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 85,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 85,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 85,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 85,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 85,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 85,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var39",
"loc": {
"start": {
"line": 87,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var40",
"loc": {
"start": {
"line": 87,
"column": 10,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 15,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 87,
"column": 17,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "AssignmentPattern",
"left": {
"type": "Identifier",
"name": "var41",
"loc": {
"start": {
"line": 87,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 24,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 87,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 87,
"column": 19,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 87,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "Identifier",
"name": "var43",
"loc": {
"start": {
"line": 87,
"column": 36,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 87,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var42",
"loc": {
"start": {
"line": 87,
"column": 46,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 51,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 87,
"column": 43,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 51,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 87,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 52,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ObjectExpression",
"properties": [],
"loc": {
"start": {
"line": 87,
"column": 56,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 58,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 42,
"loc": {
"start": {
"line": 87,
"column": 61,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "OmittedExpression",
"loc": {
"start": {
"line": 87,
"column": 65,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 66,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "Identifier",
"name": "var44",
"loc": {
"start": {
"line": 87,
"column": 67,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 72,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 87,
"column": 75,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 76,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 87,
"column": 67,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 76,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 87,
"column": 60,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 77,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 87,
"column": 55,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 78,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 87,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 78,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 87,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 87,
"column": 79,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var45",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 89,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 89,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 89,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 89,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 89,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 89,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 89,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 89,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 89,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 89,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var46",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 90,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 90,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 90,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 90,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 90,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 90,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 90,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 90,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 90,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 90,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var47",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSParenthesizedType",
"typeAnnotation": {
"type": "TSUnionType",
"types": [
{
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 91,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 19,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 91,
"column": 22,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 91,
"column": 13,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 91,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 29,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 91,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 31,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 91,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 91,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 91,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 91,
"column": 32,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var48",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 92,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 92,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 92,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 92,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 92,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 92,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 92,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 92,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 92,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 92,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "Identifier",
"name": "var45",
"loc": {
"start": {
"line": 94,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 7,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var46",
"loc": {
"start": {
"line": 94,
"column": 9,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 14,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var47",
"loc": {
"start": {
"line": 94,
"column": 16,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var47",
"loc": {
"start": {
"line": 94,
"column": 23,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 28,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "Identifier",
"name": "var47",
"loc": {
"start": {
"line": 94,
"column": 30,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 35,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var48",
"loc": {
"start": {
"line": 94,
"column": 40,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 45,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 94,
"column": 37,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 45,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 46,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 94,
"column": 51,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 56,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 94,
"column": 58,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 63,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 50,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 64,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 94,
"column": 67,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 68,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 94,
"column": 70,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 71,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 66,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 72,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 94,
"column": 75,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 80,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 94,
"column": 82,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 87,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 74,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 88,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 94,
"column": 91,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 92,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 94,
"column": 94,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 95,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 90,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 96,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ArrayExpression",
"elements": [
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 94,
"column": 99,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 100,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 94,
"column": 102,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 107,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 98,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 108,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 94,
"column": 110,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 115,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 94,
"column": 117,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 122,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 94,
"column": 49,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 123,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 94,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 123,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 94,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 94,
"column": 123,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var49",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSStringKeyword",
"loc": {
"start": {
"line": 96,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 96,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 96,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 96,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 96,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 96,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 96,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 96,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 96,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 96,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "var50",
"typeAnnotation": {
"type": "TSArrayType",
"elementType": {
"type": "TSNumberKeyword",
"loc": {
"start": {
"line": 97,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 97,
"column": 18,
"program": "arrayDestructuring.ts"
}
}
},
"annotations": [],
"loc": {
"start": {
"line": 97,
"column": 12,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 97,
"column": 20,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 97,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 97,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
},
"init": null,
"loc": {
"start": {
"line": 97,
"column": 5,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 97,
"column": 10,
"program": "arrayDestructuring.ts"
}
}
}
],
"kind": "var",
"loc": {
"start": {
"line": 97,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 97,
"column": 21,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "ArrayPattern",
"elements": [
{
"type": "ArrayPattern",
"elements": [
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var49",
"loc": {
"start": {
"line": 98,
"column": 6,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 98,
"column": 3,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 11,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 98,
"column": 2,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 12,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "var50",
"loc": {
"start": {
"line": 98,
"column": 17,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 98,
"column": 14,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 22,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 98,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 23,
"program": "arrayDestructuring.ts"
}
}
},
"right": {
"type": "ArrayExpression",
"elements": [
{
"type": "ArrayExpression",
"elements": [
{
"type": "StringLiteral",
"value": "foo",
"loc": {
"start": {
"line": 98,
"column": 28,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 33,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "StringLiteral",
"value": "bar",
"loc": {
"start": {
"line": 98,
"column": 35,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 40,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 98,
"column": 27,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 41,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 98,
"column": 43,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 44,
"program": "arrayDestructuring.ts"
}
}
},
{
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 98,
"column": 46,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 47,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 98,
"column": 26,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 98,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
},
"loc": {
"start": {
"line": 98,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 98,
"column": 48,
"program": "arrayDestructuring.ts"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "arrayDestructuring.ts"
},
"end": {
"line": 99,
"column": 1,
"program": "arrayDestructuring.ts"
}
}
}