{ "type": "Program", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 2 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 6 } } }, "consequent": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSNumberKeyword", "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 19 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 33 } } }, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 34 } } } ], "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 36 } } }, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 36 } } }, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 36 } } }, "alternate": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSStringKeyword", "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 17, "column": 49 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "StringLiteral", "value": "1", "loc": { "start": { "line": 17, "column": 62 }, "end": { "line": 17, "column": 65 } } }, "loc": { "start": { "line": 17, "column": 55 }, "end": { "line": 17, "column": 66 } } } ], "loc": { "start": { "line": 17, "column": 53 }, "end": { "line": 17, "column": 68 } } }, "loc": { "start": { "line": 17, "column": 39 }, "end": { "line": 17, "column": 68 } } }, "loc": { "start": { "line": 17, "column": 39 }, "end": { "line": 17, "column": 68 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 68 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 68 } } }, { "type": "ExpressionStatement", "expression": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 2 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 6 } } }, "consequent": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 19 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 18, "column": 32 }, "end": { "line": 18, "column": 33 } } }, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 34 } } } ], "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 36 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 36 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 36 } } }, "alternate": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [ { "type": "Identifier", "name": "p1", "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 44 }, "end": { "line": 18, "column": 50 } } }, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 42 } } }, { "type": "Identifier", "name": "p2", "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 56 }, "end": { "line": 18, "column": 62 } } }, "loc": { "start": { "line": 18, "column": 52 }, "end": { "line": 18, "column": 54 } } } ], "returnType": { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 65 }, "end": { "line": 18, "column": 71 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "StringLiteral", "value": "1", "loc": { "start": { "line": 18, "column": 84 }, "end": { "line": 18, "column": 87 } } }, "loc": { "start": { "line": 18, "column": 77 }, "end": { "line": 18, "column": 88 } } } ], "loc": { "start": { "line": 18, "column": 75 }, "end": { "line": 18, "column": 90 } } }, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 90 } } }, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 90 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 90 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 90 } } }, { "type": "ExpressionStatement", "expression": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 2 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 6 } } }, "consequent": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [ { "type": "Identifier", "name": "p", "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 19 } } }, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 20 } } } ], "returnType": { "type": "TSNumberKeyword", "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 28 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 19, "column": 41 }, "end": { "line": 19, "column": 42 } } }, "loc": { "start": { "line": 19, "column": 34 }, "end": { "line": 19, "column": 43 } } } ], "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 45 } } }, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 45 } } }, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 45 } } }, "alternate": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "returnType": { "type": "TSStringKeyword", "loc": { "start": { "line": 19, "column": 52 }, "end": { "line": 19, "column": 58 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "StringLiteral", "value": "1", "loc": { "start": { "line": 19, "column": 71 }, "end": { "line": 19, "column": 74 } } }, "loc": { "start": { "line": 19, "column": 64 }, "end": { "line": 19, "column": 75 } } } ], "loc": { "start": { "line": 19, "column": 62 }, "end": { "line": 19, "column": 77 } } }, "loc": { "start": { "line": 19, "column": 48 }, "end": { "line": 19, "column": 77 } } }, "loc": { "start": { "line": 19, "column": 48 }, "end": { "line": 19, "column": 77 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 77 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 77 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 6 } } }, "init": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 10 } } }, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 10 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 13 } } }, "init": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 17 } } }, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 17 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "c", "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 20 } } }, "init": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 24 } } }, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 24 } } } ], "kind": "var", "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 21, "column": 25 } } }, { "type": "ExpressionStatement", "expression": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 2 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 22, "column": 5 }, "end": { "line": 22, "column": 6 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 6 } } }, "consequent": { "type": "SequenceExpression", "expressions": [ { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 11 } } }, "right": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 15 } } }, "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 15 } } }, { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 18 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 22 } } } ], "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 23 } } }, "alternate": { "type": "Identifier", "name": "c", "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 27 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 27 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 27 } } }, { "type": "ExpressionStatement", "expression": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "<", "left": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 2 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 6 } } }, "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 6 } } }, "consequent": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [ { "type": "AssignmentPattern", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 23, "column": 10 }, "end": { "line": 23, "column": 11 } } }, "right": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, "loc": { "start": { "line": 23, "column": 10 }, "end": { "line": 23, "column": 15 } } }, { "type": "AssignmentPattern", "left": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 18 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 22 } } }, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 22 } } } ], "returnType": { "type": "TSAnyKeyword", "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 28 } } }, "body": { "type": "BlockStatement", "statements": [ { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 23, "column": 41 }, "end": { "line": 23, "column": 42 } } }, "loc": { "start": { "line": 23, "column": 34 }, "end": { "line": 23, "column": 42 } } } ], "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 44 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 44 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 44 } } }, "alternate": { "type": "Identifier", "name": "c", "loc": { "start": { "line": 23, "column": 47 }, "end": { "line": 23, "column": 48 } } }, "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 48 } } }, "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 48 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 24, "column": 1 } } }