192 lines
4.8 KiB
JSON

{
"type": "File",
"start": 0,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 2
}
},
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 3,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 6,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 9
},
"identifierName": "map"
},
"name": "map"
},
"init": {
"type": "ObjectExpression",
"start": 12,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 3,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 16,
"end": 41,
"loc": {
"start": {
"line": 2,
"column": 2
},
"end": {
"line": 2,
"column": 27
}
},
"method": false,
"computed": true,
"key": {
"type": "BinaryExpression",
"start": 17,
"end": 26,
"loc": {
"start": {
"line": 2,
"column": 3
},
"end": {
"line": 2,
"column": 12
}
},
"left": {
"type": "Identifier",
"start": 17,
"end": 20,
"loc": {
"start": {
"line": 2,
"column": 3
},
"end": {
"line": 2,
"column": 6
},
"identifierName": "age"
},
"name": "age"
},
"operator": "<=",
"right": {
"type": "NumericLiteral",
"start": 24,
"end": 26,
"loc": {
"start": {
"line": 2,
"column": 10
},
"end": {
"line": 2,
"column": 12
}
},
"extra": {
"rawValue": 17,
"raw": "17"
},
"value": 17
}
},
"shorthand": false,
"value": {
"type": "StringLiteral",
"start": 30,
"end": 41,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 27
}
},
"extra": {
"rawValue": "Too young",
"raw": "'Too young'"
},
"value": "Too young"
}
}
]
}
}
],
"kind": "const"
}
],
"directives": []
}
}