363 lines
9.9 KiB
JSON

{
"type": "File",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"program": {
"type": "Program",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"sourceType": "script",
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"expression": {
"type": "ComprehensionExpression",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"blocks": [
{
"type": "ComprehensionBlock",
"start": 1,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 20
}
},
"left": {
"type": "ArrayPattern",
"start": 6,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 10
}
},
"elements": [
null,
{
"type": "Identifier",
"start": 8,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 9
}
},
"name": "x"
}
]
},
"right": {
"type": "Identifier",
"start": 14,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 19
}
},
"name": "array"
}
},
{
"type": "ComprehensionBlock",
"start": 21,
"end": 65,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 65
}
},
"left": {
"type": "ObjectPattern",
"start": 26,
"end": 54,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 54
}
},
"properties": [
{
"type": "Property",
"start": 27,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 39
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 28,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 28,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 33
}
},
"name": "start"
},
"property": {
"type": "Identifier",
"start": 34,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 34
},
"end": {
"line": 1,
"column": 35
}
},
"name": "x"
},
"computed": false
},
"value": {
"type": "Identifier",
"start": 38,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 39
}
},
"name": "x"
},
"kind": "init"
},
{
"type": "Property",
"start": 41,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 41
},
"end": {
"line": 1,
"column": 53
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 42,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 42,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 47
}
},
"name": "start"
},
"property": {
"type": "Identifier",
"start": 48,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 49
}
},
"name": "y"
},
"computed": false
},
"value": {
"type": "Identifier",
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 52
},
"end": {
"line": 1,
"column": 53
}
},
"name": "y"
},
"kind": "init"
}
]
},
"right": {
"type": "Identifier",
"start": 58,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 58
},
"end": {
"line": 1,
"column": 64
}
},
"name": "array2"
}
}
],
"filter": null,
"body": {
"type": "Identifier",
"start": 66,
"end": 67,
"loc": {
"start": {
"line": 1,
"column": 66
},
"end": {
"line": 1,
"column": 67
}
},
"name": "x"
},
"generator": false
}
}
]
},
"comments": []
}