{ "type": "File", "start": 0, "end": 3787, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 104, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 3787, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 104, "column": 0 } }, "sourceType": "module", "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 303, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 1 } }, "id": { "type": "Identifier", "start": 9, "end": 22, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 22 }, "identifierName": "mathPolyfills" }, "name": "mathPolyfills" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 25, "end": 303, "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 11, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 74, "end": 162, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 5, "column": 6 } }, "expression": { "type": "AssignmentExpression", "start": 74, "end": 161, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 5, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 74, "end": 86, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 16 } }, "object": { "type": "Identifier", "start": 74, "end": 78, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 8 }, "identifierName": "Math" }, "name": "Math", "leadingComments": null }, "property": { "type": "Identifier", "start": 79, "end": 86, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 16 }, "identifierName": "radians" }, "name": "radians" }, "computed": false, "leadingComments": null }, "right": { "type": "FunctionExpression", "start": 89, "end": 161, "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 5, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 99, "end": 106, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 36 }, "identifierName": "degrees" }, "name": "degrees" } ], "body": { "type": "BlockStatement", "start": 108, "end": 161, "loc": { "start": { "line": 3, "column": 38 }, "end": { "line": 5, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 119, "end": 154, "loc": { "start": { "line": 4, "column": 8 }, "end": { "line": 4, "column": 43 } }, "argument": { "type": "BinaryExpression", "start": 126, "end": 153, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 127, "end": 144, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 33 } }, "left": { "type": "Identifier", "start": 127, "end": 134, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 23 }, "identifierName": "degrees" }, "name": "degrees" }, "operator": "*", "right": { "type": "MemberExpression", "start": 137, "end": 144, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 33 } }, "object": { "type": "Identifier", "start": 137, "end": 141, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 30 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 142, "end": 144, "loc": { "start": { "line": 4, "column": 31 }, "end": { "line": 4, "column": 33 }, "identifierName": "PI" }, "name": "PI" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 126 } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 148, "end": 153, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 42 } }, "extra": { "rawValue": 180, "raw": "180.0" }, "value": 180 } } } ], "directives": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Converts from degrees to radians.", "start": 32, "end": 68, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Converts from radians to degrees.", "start": 170, "end": 206, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 212, "end": 300, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 10, "column": 6 } }, "expression": { "type": "AssignmentExpression", "start": 212, "end": 299, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 10, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 212, "end": 224, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 16 } }, "object": { "type": "Identifier", "start": 212, "end": 216, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 8 }, "identifierName": "Math" }, "name": "Math", "leadingComments": null }, "property": { "type": "Identifier", "start": 217, "end": 224, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 16 }, "identifierName": "degrees" }, "name": "degrees" }, "computed": false, "leadingComments": null }, "right": { "type": "FunctionExpression", "start": 227, "end": 299, "loc": { "start": { "line": 8, "column": 19 }, "end": { "line": 10, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 237, "end": 244, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 36 }, "identifierName": "radians" }, "name": "radians" } ], "body": { "type": "BlockStatement", "start": 246, "end": 299, "loc": { "start": { "line": 8, "column": 38 }, "end": { "line": 10, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 257, "end": 292, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 43 } }, "argument": { "type": "BinaryExpression", "start": 264, "end": 291, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 265, "end": 280, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 31 } }, "left": { "type": "Identifier", "start": 265, "end": 272, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 23 }, "identifierName": "radians" }, "name": "radians" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 275, "end": 280, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 31 } }, "extra": { "rawValue": 180, "raw": "180.0" }, "value": 180 }, "extra": { "parenthesized": true, "parenStart": 264 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 284, "end": 291, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 9, "column": 42 } }, "object": { "type": "Identifier", "start": 284, "end": 288, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 9, "column": 39 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 289, "end": 291, "loc": { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 42 }, "identifierName": "PI" }, "name": "PI" }, "computed": false } } } ], "directives": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Converts from radians to degrees.", "start": 170, "end": 206, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 40 } } } ] } ], "directives": [] } }, { "type": "FunctionDeclaration", "start": 307, "end": 2277, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 49, "column": 1 } }, "id": { "type": "Identifier", "start": 316, "end": 331, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 24 }, "identifierName": "stringPolyfills" }, "name": "stringPolyfills" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 334, "end": 2277, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 49, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 521, "end": 1310, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 30, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 525, "end": 551, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 34 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 526, "end": 551, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 34 } }, "object": { "type": "MemberExpression", "start": 526, "end": 542, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 25 } }, "object": { "type": "Identifier", "start": 526, "end": 532, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 15 }, "identifierName": "String" }, "name": "String", "leadingComments": null }, "property": { "type": "Identifier", "start": 533, "end": 542, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 25 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 543, "end": 551, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 34 }, "identifierName": "padStart" }, "name": "padStart" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 553, "end": 1310, "loc": { "start": { "line": 16, "column": 36 }, "end": { "line": 30, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 564, "end": 1303, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 29, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 564, "end": 1302, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 29, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 564, "end": 589, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 33 } }, "object": { "type": "MemberExpression", "start": 564, "end": 580, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 24 } }, "object": { "type": "Identifier", "start": 564, "end": 570, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 14 }, "identifierName": "String" }, "name": "String" }, "property": { "type": "Identifier", "start": 571, "end": 580, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 24 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 581, "end": 589, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 33 }, "identifierName": "padStart" }, "name": "padStart" }, "computed": false }, "right": { "type": "FunctionExpression", "start": 592, "end": 1302, "loc": { "start": { "line": 17, "column": 36 }, "end": { "line": 29, "column": 9 } }, "id": { "type": "Identifier", "start": 601, "end": 609, "loc": { "start": { "line": 17, "column": 45 }, "end": { "line": 17, "column": 53 }, "identifierName": "padStart" }, "name": "padStart" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 610, "end": 622, "loc": { "start": { "line": 17, "column": 54 }, "end": { "line": 17, "column": 66 }, "identifierName": "targetLength" }, "name": "targetLength" }, { "type": "Identifier", "start": 624, "end": 633, "loc": { "start": { "line": 17, "column": 68 }, "end": { "line": 17, "column": 77 }, "identifierName": "padString" }, "name": "padString" } ], "body": { "type": "BlockStatement", "start": 635, "end": 1302, "loc": { "start": { "line": 17, "column": 79 }, "end": { "line": 29, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 650, "end": 683, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 650, "end": 682, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", "start": 650, "end": 662, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 24 }, "identifierName": "targetLength" }, "name": "targetLength" }, "right": { "type": "BinaryExpression", "start": 665, "end": 682, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 44 } }, "left": { "type": "Identifier", "start": 665, "end": 677, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 39 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": ">>", "right": { "type": "NumericLiteral", "start": 681, "end": 682, "loc": { "start": { "line": 18, "column": 43 }, "end": { "line": 18, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "trailingComments": [ { "type": "CommentLine", "value": "truncate if number, or convert non-number to 0;", "start": 684, "end": 733, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 95 } } } ] }, { "type": "ExpressionStatement", "start": 747, "end": 818, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 747, "end": 817, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 82 } }, "operator": "=", "left": { "type": "Identifier", "start": 747, "end": 756, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 21 }, "identifierName": "padString" }, "name": "padString", "leadingComments": null }, "right": { "type": "CallExpression", "start": 759, "end": 817, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 82 } }, "callee": { "type": "Identifier", "start": 759, "end": 765, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 30 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "ConditionalExpression", "start": 766, "end": 816, "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 81 } }, "test": { "type": "BinaryExpression", "start": 766, "end": 798, "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 63 } }, "left": { "type": "UnaryExpression", "start": 766, "end": 782, "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 47 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 773, "end": 782, "loc": { "start": { "line": 19, "column": 38 }, "end": { "line": 19, "column": 47 }, "identifierName": "padString" }, "name": "padString" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 787, "end": 798, "loc": { "start": { "line": 19, "column": 52 }, "end": { "line": 19, "column": 63 } }, "extra": { "rawValue": "undefined", "raw": "\"undefined\"" }, "value": "undefined" } }, "consequent": { "type": "Identifier", "start": 801, "end": 810, "loc": { "start": { "line": 19, "column": 66 }, "end": { "line": 19, "column": 75 }, "identifierName": "padString" }, "name": "padString" }, "alternate": { "type": "StringLiteral", "start": 813, "end": 816, "loc": { "start": { "line": 19, "column": 78 }, "end": { "line": 19, "column": 81 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": "truncate if number, or convert non-number to 0;", "start": 684, "end": 733, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 95 } } } ] }, { "type": "IfStatement", "start": 832, "end": 1291, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 28, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 836, "end": 863, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 43 } }, "left": { "type": "MemberExpression", "start": 836, "end": 847, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 27 } }, "object": { "type": "ThisExpression", "start": 836, "end": 840, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 20 } } }, "property": { "type": "Identifier", "start": 841, "end": 847, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 27 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">=", "right": { "type": "Identifier", "start": 851, "end": 863, "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 43 }, "identifierName": "targetLength" }, "name": "targetLength" } }, "consequent": { "type": "BlockStatement", "start": 865, "end": 919, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 22, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 884, "end": 904, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 36 } }, "argument": { "type": "CallExpression", "start": 891, "end": 903, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 35 } }, "callee": { "type": "Identifier", "start": 891, "end": 897, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 29 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "ThisExpression", "start": 898, "end": 902, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 34 } } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 925, "end": 1291, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 28, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 944, "end": 986, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 944, "end": 985, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", "start": 944, "end": 956, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 28 }, "identifierName": "targetLength" }, "name": "targetLength" }, "right": { "type": "BinaryExpression", "start": 959, "end": 985, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 57 } }, "left": { "type": "Identifier", "start": 959, "end": 971, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 43 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": "-", "right": { "type": "MemberExpression", "start": 974, "end": 985, "loc": { "start": { "line": 23, "column": 46 }, "end": { "line": 23, "column": 57 } }, "object": { "type": "ThisExpression", "start": 974, "end": 978, "loc": { "start": { "line": 23, "column": 46 }, "end": { "line": 23, "column": 50 } } }, "property": { "type": "Identifier", "start": 979, "end": 985, "loc": { "start": { "line": 23, "column": 51 }, "end": { "line": 23, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false } } } }, { "type": "IfStatement", "start": 1004, "end": 1203, "loc": { "start": { "line": 24, "column": 16 }, "end": { "line": 26, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 1008, "end": 1039, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 51 } }, "left": { "type": "Identifier", "start": 1008, "end": 1020, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 32 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": ">", "right": { "type": "MemberExpression", "start": 1023, "end": 1039, "loc": { "start": { "line": 24, "column": 35 }, "end": { "line": 24, "column": 51 } }, "object": { "type": "Identifier", "start": 1023, "end": 1032, "loc": { "start": { "line": 24, "column": 35 }, "end": { "line": 24, "column": 44 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 1033, "end": 1039, "loc": { "start": { "line": 24, "column": 45 }, "end": { "line": 24, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 1041, "end": 1203, "loc": { "start": { "line": 24, "column": 53 }, "end": { "line": 26, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 1064, "end": 1127, "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 1064, "end": 1126, "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 82 } }, "operator": "+=", "left": { "type": "Identifier", "start": 1064, "end": 1073, "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 29 }, "identifierName": "padString" }, "name": "padString" }, "right": { "type": "CallExpression", "start": 1077, "end": 1126, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 1077, "end": 1093, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 49 } }, "object": { "type": "Identifier", "start": 1077, "end": 1086, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 42 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 1087, "end": 1093, "loc": { "start": { "line": 25, "column": 43 }, "end": { "line": 25, "column": 49 }, "identifierName": "repeat" }, "name": "repeat" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 1094, "end": 1125, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 81 } }, "left": { "type": "Identifier", "start": 1094, "end": 1106, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 62 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": "/", "right": { "type": "MemberExpression", "start": 1109, "end": 1125, "loc": { "start": { "line": 25, "column": 65 }, "end": { "line": 25, "column": 81 } }, "object": { "type": "Identifier", "start": 1109, "end": 1118, "loc": { "start": { "line": 25, "column": 65 }, "end": { "line": 25, "column": 74 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 1119, "end": 1125, "loc": { "start": { "line": 25, "column": 75 }, "end": { "line": 25, "column": 81 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": "append to original to ensure we are longer than needed", "start": 1128, "end": 1184, "loc": { "start": { "line": 25, "column": 84 }, "end": { "line": 25, "column": 140 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 1221, "end": 1276, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 71 } }, "argument": { "type": "BinaryExpression", "start": 1228, "end": 1275, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 70 } }, "left": { "type": "CallExpression", "start": 1228, "end": 1260, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 1228, "end": 1243, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 38 } }, "object": { "type": "Identifier", "start": 1228, "end": 1237, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 32 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 1238, "end": 1243, "loc": { "start": { "line": 27, "column": 33 }, "end": { "line": 27, "column": 38 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 1244, "end": 1245, "loc": { "start": { "line": 27, "column": 39 }, "end": { "line": 27, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 1247, "end": 1259, "loc": { "start": { "line": 27, "column": 42 }, "end": { "line": 27, "column": 54 }, "identifierName": "targetLength" }, "name": "targetLength" } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 1263, "end": 1275, "loc": { "start": { "line": 27, "column": 58 }, "end": { "line": 27, "column": 70 } }, "callee": { "type": "Identifier", "start": 1263, "end": 1269, "loc": { "start": { "line": 27, "column": 58 }, "end": { "line": 27, "column": 64 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "ThisExpression", "start": 1270, "end": 1274, "loc": { "start": { "line": 27, "column": 65 }, "end": { "line": 27, "column": 69 } } } ] } } } ], "directives": [] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 341, "end": 410, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart", "start": 416, "end": 515, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 103 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 1318, "end": 1387, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padEnd", "start": 1393, "end": 1490, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 101 } } } ] }, { "type": "IfStatement", "start": 1496, "end": 2274, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 48, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 1500, "end": 1524, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1501, "end": 1524, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 32 } }, "object": { "type": "MemberExpression", "start": 1501, "end": 1517, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 25 } }, "object": { "type": "Identifier", "start": 1501, "end": 1507, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 15 }, "identifierName": "String" }, "name": "String", "leadingComments": null }, "property": { "type": "Identifier", "start": 1508, "end": 1517, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 25 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1518, "end": 1524, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 32 }, "identifierName": "padEnd" }, "name": "padEnd" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 1526, "end": 2274, "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 48, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1537, "end": 2267, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 47, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 1537, "end": 2266, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 47, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1537, "end": 1560, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 31 } }, "object": { "type": "MemberExpression", "start": 1537, "end": 1553, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 24 } }, "object": { "type": "Identifier", "start": 1537, "end": 1543, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 14 }, "identifierName": "String" }, "name": "String" }, "property": { "type": "Identifier", "start": 1544, "end": 1553, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 24 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 1554, "end": 1560, "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 31 }, "identifierName": "padEnd" }, "name": "padEnd" }, "computed": false }, "right": { "type": "FunctionExpression", "start": 1563, "end": 2266, "loc": { "start": { "line": 35, "column": 34 }, "end": { "line": 47, "column": 9 } }, "id": { "type": "Identifier", "start": 1572, "end": 1578, "loc": { "start": { "line": 35, "column": 43 }, "end": { "line": 35, "column": 49 }, "identifierName": "padEnd" }, "name": "padEnd" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1579, "end": 1591, "loc": { "start": { "line": 35, "column": 50 }, "end": { "line": 35, "column": 62 }, "identifierName": "targetLength" }, "name": "targetLength" }, { "type": "Identifier", "start": 1593, "end": 1602, "loc": { "start": { "line": 35, "column": 64 }, "end": { "line": 35, "column": 73 }, "identifierName": "padString" }, "name": "padString" } ], "body": { "type": "BlockStatement", "start": 1604, "end": 2266, "loc": { "start": { "line": 35, "column": 75 }, "end": { "line": 47, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1619, "end": 1652, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 1619, "end": 1651, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", "start": 1619, "end": 1631, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 24 }, "identifierName": "targetLength" }, "name": "targetLength" }, "right": { "type": "BinaryExpression", "start": 1634, "end": 1651, "loc": { "start": { "line": 36, "column": 27 }, "end": { "line": 36, "column": 44 } }, "left": { "type": "Identifier", "start": 1634, "end": 1646, "loc": { "start": { "line": 36, "column": 27 }, "end": { "line": 36, "column": 39 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": ">>", "right": { "type": "NumericLiteral", "start": 1650, "end": 1651, "loc": { "start": { "line": 36, "column": 43 }, "end": { "line": 36, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "trailingComments": [ { "type": "CommentLine", "value": "floor if number or convert non-number to 0;", "start": 1653, "end": 1698, "loc": { "start": { "line": 36, "column": 46 }, "end": { "line": 36, "column": 91 } } } ] }, { "type": "ExpressionStatement", "start": 1712, "end": 1783, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 1712, "end": 1782, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 82 } }, "operator": "=", "left": { "type": "Identifier", "start": 1712, "end": 1721, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 21 }, "identifierName": "padString" }, "name": "padString", "leadingComments": null }, "right": { "type": "CallExpression", "start": 1724, "end": 1782, "loc": { "start": { "line": 37, "column": 24 }, "end": { "line": 37, "column": 82 } }, "callee": { "type": "Identifier", "start": 1724, "end": 1730, "loc": { "start": { "line": 37, "column": 24 }, "end": { "line": 37, "column": 30 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "ConditionalExpression", "start": 1731, "end": 1781, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 81 } }, "test": { "type": "BinaryExpression", "start": 1731, "end": 1763, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 63 } }, "left": { "type": "UnaryExpression", "start": 1731, "end": 1747, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 47 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 1738, "end": 1747, "loc": { "start": { "line": 37, "column": 38 }, "end": { "line": 37, "column": 47 }, "identifierName": "padString" }, "name": "padString" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 1752, "end": 1763, "loc": { "start": { "line": 37, "column": 52 }, "end": { "line": 37, "column": 63 } }, "extra": { "rawValue": "undefined", "raw": "\"undefined\"" }, "value": "undefined" } }, "consequent": { "type": "Identifier", "start": 1766, "end": 1775, "loc": { "start": { "line": 37, "column": 66 }, "end": { "line": 37, "column": 75 }, "identifierName": "padString" }, "name": "padString" }, "alternate": { "type": "StringLiteral", "start": 1778, "end": 1781, "loc": { "start": { "line": 37, "column": 78 }, "end": { "line": 37, "column": 81 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": "floor if number or convert non-number to 0;", "start": 1653, "end": 1698, "loc": { "start": { "line": 36, "column": 46 }, "end": { "line": 36, "column": 91 } } } ] }, { "type": "IfStatement", "start": 1797, "end": 2255, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 46, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 1801, "end": 1827, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 42 } }, "left": { "type": "MemberExpression", "start": 1801, "end": 1812, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1801, "end": 1805, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 20 } } }, "property": { "type": "Identifier", "start": 1806, "end": 1812, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 27 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "Identifier", "start": 1815, "end": 1827, "loc": { "start": { "line": 38, "column": 30 }, "end": { "line": 38, "column": 42 }, "identifierName": "targetLength" }, "name": "targetLength" } }, "consequent": { "type": "BlockStatement", "start": 1829, "end": 1883, "loc": { "start": { "line": 38, "column": 44 }, "end": { "line": 40, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 1848, "end": 1868, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 36 } }, "argument": { "type": "CallExpression", "start": 1855, "end": 1867, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 35 } }, "callee": { "type": "Identifier", "start": 1855, "end": 1861, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 29 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "ThisExpression", "start": 1862, "end": 1866, "loc": { "start": { "line": 39, "column": 30 }, "end": { "line": 39, "column": 34 } } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1889, "end": 2255, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 46, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 1908, "end": 1950, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 1908, "end": 1949, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", "start": 1908, "end": 1920, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 28 }, "identifierName": "targetLength" }, "name": "targetLength" }, "right": { "type": "BinaryExpression", "start": 1923, "end": 1949, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 57 } }, "left": { "type": "Identifier", "start": 1923, "end": 1935, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 43 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": "-", "right": { "type": "MemberExpression", "start": 1938, "end": 1949, "loc": { "start": { "line": 41, "column": 46 }, "end": { "line": 41, "column": 57 } }, "object": { "type": "ThisExpression", "start": 1938, "end": 1942, "loc": { "start": { "line": 41, "column": 46 }, "end": { "line": 41, "column": 50 } } }, "property": { "type": "Identifier", "start": 1943, "end": 1949, "loc": { "start": { "line": 41, "column": 51 }, "end": { "line": 41, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false } } } }, { "type": "IfStatement", "start": 1968, "end": 2167, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 44, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 1972, "end": 2003, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 51 } }, "left": { "type": "Identifier", "start": 1972, "end": 1984, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 32 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": ">", "right": { "type": "MemberExpression", "start": 1987, "end": 2003, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 51 } }, "object": { "type": "Identifier", "start": 1987, "end": 1996, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 44 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 1997, "end": 2003, "loc": { "start": { "line": 42, "column": 45 }, "end": { "line": 42, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 2005, "end": 2167, "loc": { "start": { "line": 42, "column": 53 }, "end": { "line": 44, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 2028, "end": 2091, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 2028, "end": 2090, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 82 } }, "operator": "+=", "left": { "type": "Identifier", "start": 2028, "end": 2037, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 29 }, "identifierName": "padString" }, "name": "padString" }, "right": { "type": "CallExpression", "start": 2041, "end": 2090, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 2041, "end": 2057, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 49 } }, "object": { "type": "Identifier", "start": 2041, "end": 2050, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 42 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 2051, "end": 2057, "loc": { "start": { "line": 43, "column": 43 }, "end": { "line": 43, "column": 49 }, "identifierName": "repeat" }, "name": "repeat" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 2058, "end": 2089, "loc": { "start": { "line": 43, "column": 50 }, "end": { "line": 43, "column": 81 } }, "left": { "type": "Identifier", "start": 2058, "end": 2070, "loc": { "start": { "line": 43, "column": 50 }, "end": { "line": 43, "column": 62 }, "identifierName": "targetLength" }, "name": "targetLength" }, "operator": "/", "right": { "type": "MemberExpression", "start": 2073, "end": 2089, "loc": { "start": { "line": 43, "column": 65 }, "end": { "line": 43, "column": 81 } }, "object": { "type": "Identifier", "start": 2073, "end": 2082, "loc": { "start": { "line": 43, "column": 65 }, "end": { "line": 43, "column": 74 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 2083, "end": 2089, "loc": { "start": { "line": 43, "column": 75 }, "end": { "line": 43, "column": 81 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": "append to original to ensure we are longer than needed", "start": 2092, "end": 2148, "loc": { "start": { "line": 43, "column": 84 }, "end": { "line": 43, "column": 140 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 2185, "end": 2240, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 71 } }, "argument": { "type": "BinaryExpression", "start": 2192, "end": 2239, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 70 } }, "left": { "type": "CallExpression", "start": 2192, "end": 2204, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 35 } }, "callee": { "type": "Identifier", "start": 2192, "end": 2198, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 29 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "ThisExpression", "start": 2199, "end": 2203, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 34 } } } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 2207, "end": 2239, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 2207, "end": 2222, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 53 } }, "object": { "type": "Identifier", "start": 2207, "end": 2216, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 47 }, "identifierName": "padString" }, "name": "padString" }, "property": { "type": "Identifier", "start": 2217, "end": 2222, "loc": { "start": { "line": 45, "column": 48 }, "end": { "line": 45, "column": 53 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 2223, "end": 2224, "loc": { "start": { "line": 45, "column": 54 }, "end": { "line": 45, "column": 55 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 2226, "end": 2238, "loc": { "start": { "line": 45, "column": 57 }, "end": { "line": 45, "column": 69 }, "identifierName": "targetLength" }, "name": "targetLength" } ] } } } ], "directives": [] } } ], "directives": [] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 1318, "end": 1387, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padEnd", "start": 1393, "end": 1490, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 101 } } } ] } ], "directives": [] } }, { "type": "FunctionDeclaration", "start": 2281, "end": 3386, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 84, "column": 1 } }, "id": { "type": "Identifier", "start": 2290, "end": 2305, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 24 }, "identifierName": "objectPolyfills" }, "name": "objectPolyfills" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2308, "end": 3386, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 84, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 2423, "end": 2496, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2429, "end": 2495, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 76 } }, "id": { "type": "Identifier", "start": 2429, "end": 2435, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 16 }, "identifierName": "reduce" }, "name": "reduce", "leadingComments": null }, "init": { "type": "CallExpression", "start": 2438, "end": 2495, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 2438, "end": 2456, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 37 } }, "object": { "type": "MemberExpression", "start": 2438, "end": 2451, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 32 } }, "object": { "type": "Identifier", "start": 2438, "end": 2446, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 27 }, "identifierName": "Function" }, "name": "Function" }, "property": { "type": "Identifier", "start": 2447, "end": 2451, "loc": { "start": { "line": 55, "column": 28 }, "end": { "line": 55, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "property": { "type": "Identifier", "start": 2452, "end": 2456, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 37 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2457, "end": 2470, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 51 } }, "object": { "type": "Identifier", "start": 2457, "end": 2465, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 46 }, "identifierName": "Function" }, "name": "Function" }, "property": { "type": "Identifier", "start": 2466, "end": 2470, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 51 }, "identifierName": "call" }, "name": "call" }, "computed": false }, { "type": "MemberExpression", "start": 2472, "end": 2494, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 75 } }, "object": { "type": "MemberExpression", "start": 2472, "end": 2487, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 68 } }, "object": { "type": "Identifier", "start": 2472, "end": 2477, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 58 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 2478, "end": 2487, "loc": { "start": { "line": 55, "column": 59 }, "end": { "line": 55, "column": 68 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 2488, "end": 2494, "loc": { "start": { "line": 55, "column": 69 }, "end": { "line": 55, "column": 75 }, "identifierName": "reduce" }, "name": "reduce" }, "computed": false } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " https://github.com/tc39/proposal-object-values-entries/blob/master/polyfill.js", "start": 2315, "end": 2396, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 85 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2404, "end": 2417, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 17 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2502, "end": 2515, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 2521, "end": 2615, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 98 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2527, "end": 2614, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 97 } }, "id": { "type": "Identifier", "start": 2527, "end": 2539, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 22 }, "identifierName": "isEnumerable" }, "name": "isEnumerable", "leadingComments": null }, "init": { "type": "CallExpression", "start": 2542, "end": 2614, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 2542, "end": 2560, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 43 } }, "object": { "type": "MemberExpression", "start": 2542, "end": 2555, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 38 } }, "object": { "type": "Identifier", "start": 2542, "end": 2550, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 33 }, "identifierName": "Function" }, "name": "Function" }, "property": { "type": "Identifier", "start": 2551, "end": 2555, "loc": { "start": { "line": 57, "column": 34 }, "end": { "line": 57, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "property": { "type": "Identifier", "start": 2556, "end": 2560, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 43 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2561, "end": 2574, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 57 } }, "object": { "type": "Identifier", "start": 2561, "end": 2569, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 52 }, "identifierName": "Function" }, "name": "Function" }, "property": { "type": "Identifier", "start": 2570, "end": 2574, "loc": { "start": { "line": 57, "column": 53 }, "end": { "line": 57, "column": 57 }, "identifierName": "call" }, "name": "call" }, "computed": false }, { "type": "MemberExpression", "start": 2576, "end": 2613, "loc": { "start": { "line": 57, "column": 59 }, "end": { "line": 57, "column": 96 } }, "object": { "type": "MemberExpression", "start": 2576, "end": 2592, "loc": { "start": { "line": 57, "column": 59 }, "end": { "line": 57, "column": 75 } }, "object": { "type": "Identifier", "start": 2576, "end": 2582, "loc": { "start": { "line": 57, "column": 59 }, "end": { "line": 57, "column": 65 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 2583, "end": 2592, "loc": { "start": { "line": 57, "column": 66 }, "end": { "line": 57, "column": 75 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 2593, "end": 2613, "loc": { "start": { "line": 57, "column": 76 }, "end": { "line": 57, "column": 96 }, "identifierName": "propertyIsEnumerable" }, "name": "propertyIsEnumerable" }, "computed": false } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2502, "end": 2515, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 17 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2621, "end": 2634, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 2640, "end": 2713, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2646, "end": 2712, "loc": { "start": { "line": 59, "column": 10 }, "end": { "line": 59, "column": 76 } }, "id": { "type": "Identifier", "start": 2646, "end": 2652, "loc": { "start": { "line": 59, "column": 10 }, "end": { "line": 59, "column": 16 }, "identifierName": "concat" }, "name": "concat", "leadingComments": null }, "init": { "type": "CallExpression", "start": 2655, "end": 2712, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 2655, "end": 2673, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 37 } }, "object": { "type": "MemberExpression", "start": 2655, "end": 2668, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 32 } }, "object": { "type": "Identifier", "start": 2655, "end": 2663, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 27 }, "identifierName": "Function" }, "name": "Function" }, "property": { "type": "Identifier", "start": 2664, "end": 2668, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "property": { "type": "Identifier", "start": 2669, "end": 2673, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 37 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2674, "end": 2687, "loc": { "start": { "line": 59, "column": 38 }, "end": { "line": 59, "column": 51 } }, "object": { "type": "Identifier", "start": 2674, "end": 2682, "loc": { "start": { "line": 59, "column": 38 }, "end": { "line": 59, "column": 46 }, "identifierName": "Function" }, "name": "Function" }, "property": { "type": "Identifier", "start": 2683, "end": 2687, "loc": { "start": { "line": 59, "column": 47 }, "end": { "line": 59, "column": 51 }, "identifierName": "call" }, "name": "call" }, "computed": false }, { "type": "MemberExpression", "start": 2689, "end": 2711, "loc": { "start": { "line": 59, "column": 53 }, "end": { "line": 59, "column": 75 } }, "object": { "type": "MemberExpression", "start": 2689, "end": 2704, "loc": { "start": { "line": 59, "column": 53 }, "end": { "line": 59, "column": 68 } }, "object": { "type": "Identifier", "start": 2689, "end": 2694, "loc": { "start": { "line": 59, "column": 53 }, "end": { "line": 59, "column": 58 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 2695, "end": 2704, "loc": { "start": { "line": 59, "column": 59 }, "end": { "line": 59, "column": 68 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 2705, "end": 2711, "loc": { "start": { "line": 59, "column": 69 }, "end": { "line": 59, "column": 75 }, "identifierName": "concat" }, "name": "concat" }, "computed": false } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2621, "end": 2634, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 2719, "end": 2748, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2725, "end": 2747, "loc": { "start": { "line": 60, "column": 10 }, "end": { "line": 60, "column": 32 } }, "id": { "type": "Identifier", "start": 2725, "end": 2729, "loc": { "start": { "line": 60, "column": 10 }, "end": { "line": 60, "column": 14 }, "identifierName": "keys" }, "name": "keys" }, "init": { "type": "MemberExpression", "start": 2732, "end": 2747, "loc": { "start": { "line": 60, "column": 17 }, "end": { "line": 60, "column": 32 } }, "object": { "type": "Identifier", "start": 2732, "end": 2739, "loc": { "start": { "line": 60, "column": 17 }, "end": { "line": 60, "column": 24 }, "identifierName": "Reflect" }, "name": "Reflect" }, "property": { "type": "Identifier", "start": 2740, "end": 2747, "loc": { "start": { "line": 60, "column": 25 }, "end": { "line": 60, "column": 32 }, "identifierName": "ownKeys" }, "name": "ownKeys" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2756, "end": 2769, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 17 } } } ] }, { "type": "IfStatement", "start": 2775, "end": 3071, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 72, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 2779, "end": 2793, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2780, "end": 2793, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 22 } }, "object": { "type": "Identifier", "start": 2780, "end": 2786, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 15 }, "identifierName": "Object" }, "name": "Object", "leadingComments": null }, "property": { "type": "Identifier", "start": 2787, "end": 2793, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 22 }, "identifierName": "values" }, "name": "values" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 2795, "end": 3071, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 72, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2829, "end": 3064, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 71, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 2829, "end": 3063, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 71, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2829, "end": 2842, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 21 } }, "object": { "type": "Identifier", "start": 2829, "end": 2835, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 14 }, "identifierName": "Object" }, "name": "Object", "leadingComments": null }, "property": { "type": "Identifier", "start": 2836, "end": 2842, "loc": { "start": { "line": 65, "column": 15 }, "end": { "line": 65, "column": 21 }, "identifierName": "values" }, "name": "values" }, "computed": false, "leadingComments": null }, "right": { "type": "FunctionExpression", "start": 2845, "end": 3063, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 71, "column": 9 } }, "id": { "type": "Identifier", "start": 2854, "end": 2860, "loc": { "start": { "line": 65, "column": 33 }, "end": { "line": 65, "column": 39 }, "identifierName": "values" }, "name": "values" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2861, "end": 2862, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 41 }, "identifierName": "O" }, "name": "O" } ], "body": { "type": "BlockStatement", "start": 2864, "end": 3063, "loc": { "start": { "line": 65, "column": 43 }, "end": { "line": 71, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 2879, "end": 3052, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 70, "column": 14 } }, "argument": { "type": "CallExpression", "start": 2886, "end": 3051, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 70, "column": 13 } }, "callee": { "type": "Identifier", "start": 2886, "end": 2892, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 25 }, "identifierName": "reduce" }, "name": "reduce" }, "arguments": [ { "type": "CallExpression", "start": 2911, "end": 2918, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 23 } }, "callee": { "type": "Identifier", "start": 2911, "end": 2915, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 20 }, "identifierName": "keys" }, "name": "keys" }, "arguments": [ { "type": "Identifier", "start": 2916, "end": 2917, "loc": { "start": { "line": 67, "column": 21 }, "end": { "line": 67, "column": 22 }, "identifierName": "O" }, "name": "O" } ] }, { "type": "ArrowFunctionExpression", "start": 2937, "end": 3015, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 94 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 2938, "end": 2939, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 }, "identifierName": "v" }, "name": "v" }, { "type": "Identifier", "start": 2941, "end": 2942, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 21 }, "identifierName": "k" }, "name": "k" } ], "body": { "type": "CallExpression", "start": 2947, "end": 3015, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 94 } }, "callee": { "type": "Identifier", "start": 2947, "end": 2953, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 32 }, "identifierName": "concat" }, "name": "concat" }, "arguments": [ { "type": "Identifier", "start": 2954, "end": 2955, "loc": { "start": { "line": 68, "column": 33 }, "end": { "line": 68, "column": 34 }, "identifierName": "v" }, "name": "v" }, { "type": "ConditionalExpression", "start": 2957, "end": 3014, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 93 } }, "test": { "type": "LogicalExpression", "start": 2957, "end": 3000, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 79 } }, "left": { "type": "BinaryExpression", "start": 2957, "end": 2978, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 2957, "end": 2965, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 44 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 2964, "end": 2965, "loc": { "start": { "line": 68, "column": 43 }, "end": { "line": 68, "column": 44 }, "identifierName": "k" }, "name": "k" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 2970, "end": 2978, "loc": { "start": { "line": 68, "column": 49 }, "end": { "line": 68, "column": 57 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "operator": "&&", "right": { "type": "CallExpression", "start": 2982, "end": 3000, "loc": { "start": { "line": 68, "column": 61 }, "end": { "line": 68, "column": 79 } }, "callee": { "type": "Identifier", "start": 2982, "end": 2994, "loc": { "start": { "line": 68, "column": 61 }, "end": { "line": 68, "column": 73 }, "identifierName": "isEnumerable" }, "name": "isEnumerable" }, "arguments": [ { "type": "Identifier", "start": 2995, "end": 2996, "loc": { "start": { "line": 68, "column": 74 }, "end": { "line": 68, "column": 75 }, "identifierName": "O" }, "name": "O" }, { "type": "Identifier", "start": 2998, "end": 2999, "loc": { "start": { "line": 68, "column": 77 }, "end": { "line": 68, "column": 78 }, "identifierName": "k" }, "name": "k" } ] } }, "consequent": { "type": "ArrayExpression", "start": 3003, "end": 3009, "loc": { "start": { "line": 68, "column": 82 }, "end": { "line": 68, "column": 88 } }, "elements": [ { "type": "MemberExpression", "start": 3004, "end": 3008, "loc": { "start": { "line": 68, "column": 83 }, "end": { "line": 68, "column": 87 } }, "object": { "type": "Identifier", "start": 3004, "end": 3005, "loc": { "start": { "line": 68, "column": 83 }, "end": { "line": 68, "column": 84 }, "identifierName": "O" }, "name": "O" }, "property": { "type": "Identifier", "start": 3006, "end": 3007, "loc": { "start": { "line": 68, "column": 85 }, "end": { "line": 68, "column": 86 }, "identifierName": "k" }, "name": "k" }, "computed": true } ] }, "alternate": { "type": "ArrayExpression", "start": 3012, "end": 3014, "loc": { "start": { "line": 68, "column": 91 }, "end": { "line": 68, "column": 93 } }, "elements": [] } } ] } }, { "type": "ArrayExpression", "start": 3034, "end": 3036, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 18 } }, "elements": [] } ] } } ], "directives": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2806, "end": 2819, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 21 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2756, "end": 2769, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 17 } } } ] }, { "type": "IfStatement", "start": 3079, "end": 3383, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 83, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 3083, "end": 3098, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 23 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 3084, "end": 3098, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 23 } }, "object": { "type": "Identifier", "start": 3084, "end": 3090, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 15 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 3091, "end": 3098, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 23 }, "identifierName": "entries" }, "name": "entries" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3100, "end": 3383, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 83, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3134, "end": 3376, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 82, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 3134, "end": 3375, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 82, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3134, "end": 3148, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 22 } }, "object": { "type": "Identifier", "start": 3134, "end": 3140, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 14 }, "identifierName": "Object" }, "name": "Object", "leadingComments": null }, "property": { "type": "Identifier", "start": 3141, "end": 3148, "loc": { "start": { "line": 76, "column": 15 }, "end": { "line": 76, "column": 22 }, "identifierName": "entries" }, "name": "entries" }, "computed": false, "leadingComments": null }, "right": { "type": "FunctionExpression", "start": 3151, "end": 3375, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 82, "column": 9 } }, "id": { "type": "Identifier", "start": 3160, "end": 3167, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 41 }, "identifierName": "entries" }, "name": "entries" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3168, "end": 3169, "loc": { "start": { "line": 76, "column": 42 }, "end": { "line": 76, "column": 43 }, "identifierName": "O" }, "name": "O" } ], "body": { "type": "BlockStatement", "start": 3171, "end": 3375, "loc": { "start": { "line": 76, "column": 45 }, "end": { "line": 82, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3186, "end": 3364, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 81, "column": 14 } }, "argument": { "type": "CallExpression", "start": 3193, "end": 3363, "loc": { "start": { "line": 77, "column": 19 }, "end": { "line": 81, "column": 13 } }, "callee": { "type": "Identifier", "start": 3193, "end": 3199, "loc": { "start": { "line": 77, "column": 19 }, "end": { "line": 77, "column": 25 }, "identifierName": "reduce" }, "name": "reduce" }, "arguments": [ { "type": "CallExpression", "start": 3218, "end": 3225, "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 23 } }, "callee": { "type": "Identifier", "start": 3218, "end": 3222, "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 20 }, "identifierName": "keys" }, "name": "keys" }, "arguments": [ { "type": "Identifier", "start": 3223, "end": 3224, "loc": { "start": { "line": 78, "column": 21 }, "end": { "line": 78, "column": 22 }, "identifierName": "O" }, "name": "O" } ] }, { "type": "ArrowFunctionExpression", "start": 3244, "end": 3327, "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 3245, "end": 3246, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 79, "column": 18 }, "identifierName": "e" }, "name": "e" }, { "type": "Identifier", "start": 3248, "end": 3249, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 21 }, "identifierName": "k" }, "name": "k" } ], "body": { "type": "CallExpression", "start": 3254, "end": 3327, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "column": 99 } }, "callee": { "type": "Identifier", "start": 3254, "end": 3260, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "column": 32 }, "identifierName": "concat" }, "name": "concat" }, "arguments": [ { "type": "Identifier", "start": 3261, "end": 3262, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 34 }, "identifierName": "e" }, "name": "e" }, { "type": "ConditionalExpression", "start": 3264, "end": 3326, "loc": { "start": { "line": 79, "column": 36 }, "end": { "line": 79, "column": 98 } }, "test": { "type": "LogicalExpression", "start": 3264, "end": 3307, "loc": { "start": { "line": 79, "column": 36 }, "end": { "line": 79, "column": 79 } }, "left": { "type": "BinaryExpression", "start": 3264, "end": 3285, "loc": { "start": { "line": 79, "column": 36 }, "end": { "line": 79, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 3264, "end": 3272, "loc": { "start": { "line": 79, "column": 36 }, "end": { "line": 79, "column": 44 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3271, "end": 3272, "loc": { "start": { "line": 79, "column": 43 }, "end": { "line": 79, "column": 44 }, "identifierName": "k" }, "name": "k" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3277, "end": 3285, "loc": { "start": { "line": 79, "column": 49 }, "end": { "line": 79, "column": 57 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "operator": "&&", "right": { "type": "CallExpression", "start": 3289, "end": 3307, "loc": { "start": { "line": 79, "column": 61 }, "end": { "line": 79, "column": 79 } }, "callee": { "type": "Identifier", "start": 3289, "end": 3301, "loc": { "start": { "line": 79, "column": 61 }, "end": { "line": 79, "column": 73 }, "identifierName": "isEnumerable" }, "name": "isEnumerable" }, "arguments": [ { "type": "Identifier", "start": 3302, "end": 3303, "loc": { "start": { "line": 79, "column": 74 }, "end": { "line": 79, "column": 75 }, "identifierName": "O" }, "name": "O" }, { "type": "Identifier", "start": 3305, "end": 3306, "loc": { "start": { "line": 79, "column": 77 }, "end": { "line": 79, "column": 78 }, "identifierName": "k" }, "name": "k" } ] } }, "consequent": { "type": "ArrayExpression", "start": 3310, "end": 3321, "loc": { "start": { "line": 79, "column": 82 }, "end": { "line": 79, "column": 93 } }, "elements": [ { "type": "ArrayExpression", "start": 3311, "end": 3320, "loc": { "start": { "line": 79, "column": 83 }, "end": { "line": 79, "column": 92 } }, "elements": [ { "type": "Identifier", "start": 3312, "end": 3313, "loc": { "start": { "line": 79, "column": 84 }, "end": { "line": 79, "column": 85 }, "identifierName": "k" }, "name": "k" }, { "type": "MemberExpression", "start": 3315, "end": 3319, "loc": { "start": { "line": 79, "column": 87 }, "end": { "line": 79, "column": 91 } }, "object": { "type": "Identifier", "start": 3315, "end": 3316, "loc": { "start": { "line": 79, "column": 87 }, "end": { "line": 79, "column": 88 }, "identifierName": "O" }, "name": "O" }, "property": { "type": "Identifier", "start": 3317, "end": 3318, "loc": { "start": { "line": 79, "column": 89 }, "end": { "line": 79, "column": 90 }, "identifierName": "k" }, "name": "k" }, "computed": true } ] } ] }, "alternate": { "type": "ArrayExpression", "start": 3324, "end": 3326, "loc": { "start": { "line": 79, "column": 96 }, "end": { "line": 79, "column": 98 } }, "elements": [] } } ] } }, { "type": "ArrayExpression", "start": 3346, "end": 3348, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 18 } }, "elements": [] } ] } } ], "directives": [] } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 3111, "end": 3124, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 21 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "FunctionDeclaration", "start": 3390, "end": 3489, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 90, "column": 1 } }, "id": { "type": "Identifier", "start": 3399, "end": 3412, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 22 }, "identifierName": "initPolyfills" }, "name": "initPolyfills" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3415, "end": 3489, "loc": { "start": { "line": 86, "column": 25 }, "end": { "line": 90, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 3422, "end": 3438, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 20 } }, "expression": { "type": "CallExpression", "start": 3422, "end": 3437, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 19 } }, "callee": { "type": "Identifier", "start": 3422, "end": 3435, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 17 }, "identifierName": "mathPolyfills" }, "name": "mathPolyfills" }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 3444, "end": 3462, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 22 } }, "expression": { "type": "CallExpression", "start": 3444, "end": 3461, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 21 } }, "callee": { "type": "Identifier", "start": 3444, "end": 3459, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 19 }, "identifierName": "stringPolyfills" }, "name": "stringPolyfills" }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 3468, "end": 3486, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 22 } }, "expression": { "type": "CallExpression", "start": 3468, "end": 3485, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 21 } }, "callee": { "type": "Identifier", "start": 3468, "end": 3483, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 19 }, "identifierName": "objectPolyfills" }, "name": "objectPolyfills" }, "arguments": [] } } ], "directives": [] } }, { "type": "FunctionDeclaration", "start": 3493, "end": 3683, "loc": { "start": { "line": 92, "column": 0 }, "end": { "line": 97, "column": 1 } }, "id": { "type": "Identifier", "start": 3502, "end": 3516, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 23 }, "identifierName": "initExtensions" }, "name": "initExtensions" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3519, "end": 3683, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 97, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 3526, "end": 3680, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 96, "column": 6 } }, "expression": { "type": "AssignmentExpression", "start": 3526, "end": 3679, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 96, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3526, "end": 3553, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 31 } }, "object": { "type": "MemberExpression", "start": 3526, "end": 3542, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 20 } }, "object": { "type": "Identifier", "start": 3526, "end": 3532, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 10 }, "identifierName": "String" }, "name": "String" }, "property": { "type": "Identifier", "start": 3533, "end": 3542, "loc": { "start": { "line": 93, "column": 11 }, "end": { "line": 93, "column": 20 }, "identifierName": "prototype" }, "name": "prototype" }, "computed": false }, "property": { "type": "Identifier", "start": 3543, "end": 3553, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 31 }, "identifierName": "replaceAll" }, "name": "replaceAll" }, "computed": false }, "right": { "type": "FunctionExpression", "start": 3556, "end": 3679, "loc": { "start": { "line": 93, "column": 34 }, "end": { "line": 96, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3566, "end": 3572, "loc": { "start": { "line": 93, "column": 44 }, "end": { "line": 93, "column": 50 }, "identifierName": "search" }, "name": "search" }, { "type": "Identifier", "start": 3574, "end": 3585, "loc": { "start": { "line": 93, "column": 52 }, "end": { "line": 93, "column": 63 }, "identifierName": "replacement" }, "name": "replacement" } ], "body": { "type": "BlockStatement", "start": 3587, "end": 3679, "loc": { "start": { "line": 93, "column": 65 }, "end": { "line": 96, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3598, "end": 3616, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3602, "end": 3615, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 25 } }, "id": { "type": "Identifier", "start": 3602, "end": 3608, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 18 }, "identifierName": "target" }, "name": "target" }, "init": { "type": "ThisExpression", "start": 3611, "end": 3615, "loc": { "start": { "line": 94, "column": 21 }, "end": { "line": 94, "column": 25 } } } } ], "kind": "var" }, { "type": "ReturnStatement", "start": 3626, "end": 3672, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 54 } }, "argument": { "type": "CallExpression", "start": 3633, "end": 3671, "loc": { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 3633, "end": 3658, "loc": { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 40 } }, "object": { "type": "CallExpression", "start": 3633, "end": 3653, "loc": { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 3633, "end": 3645, "loc": { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 27 } }, "object": { "type": "Identifier", "start": 3633, "end": 3639, "loc": { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 21 }, "identifierName": "target" }, "name": "target" }, "property": { "type": "Identifier", "start": 3640, "end": 3645, "loc": { "start": { "line": 95, "column": 22 }, "end": { "line": 95, "column": 27 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3646, "end": 3652, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 34 }, "identifierName": "search" }, "name": "search" } ] }, "property": { "type": "Identifier", "start": 3654, "end": 3658, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 40 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3659, "end": 3670, "loc": { "start": { "line": 95, "column": 41 }, "end": { "line": 95, "column": 52 }, "identifierName": "replacement" }, "name": "replacement" } ] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Fetch polyfill", "start": 3687, "end": 3704, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 17 } } } ] }, { "type": "ImportDeclaration", "start": 3706, "end": 3728, "loc": { "start": { "line": 100, "column": 0 }, "end": { "line": 100, "column": 22 } }, "specifiers": [], "source": { "type": "StringLiteral", "start": 3713, "end": 3727, "loc": { "start": { "line": 100, "column": 7 }, "end": { "line": 100, "column": 21 } }, "extra": { "rawValue": "whatwg-fetch", "raw": "\"whatwg-fetch\"" }, "value": "whatwg-fetch", "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Fetch polyfill", "start": 3687, "end": 3704, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 17 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Other polyfills", "start": 3730, "end": 3748, "loc": { "start": { "line": 101, "column": 0 }, "end": { "line": 101, "column": 18 } } } ] }, { "type": "ExpressionStatement", "start": 3750, "end": 3766, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 16 } }, "expression": { "type": "CallExpression", "start": 3750, "end": 3765, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 15 } }, "callee": { "type": "Identifier", "start": 3750, "end": 3763, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 13 }, "identifierName": "initPolyfills" }, "name": "initPolyfills", "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Other polyfills", "start": 3730, "end": 3748, "loc": { "start": { "line": 101, "column": 0 }, "end": { "line": 101, "column": 18 } } } ] }, { "type": "ExpressionStatement", "start": 3768, "end": 3785, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 103, "column": 17 } }, "expression": { "type": "CallExpression", "start": 3768, "end": 3784, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 103, "column": 16 } }, "callee": { "type": "Identifier", "start": 3768, "end": 3782, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 103, "column": 14 }, "identifierName": "initExtensions" }, "name": "initExtensions" }, "arguments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Converts from degrees to radians.", "start": 32, "end": 68, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 40 } } }, { "type": "CommentLine", "value": " Converts from radians to degrees.", "start": 170, "end": 206, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 40 } } }, { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 341, "end": 410, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart", "start": 416, "end": 515, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 103 } } }, { "type": "CommentLine", "value": "truncate if number, or convert non-number to 0;", "start": 684, "end": 733, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 95 } } }, { "type": "CommentLine", "value": "append to original to ensure we are longer than needed", "start": 1128, "end": 1184, "loc": { "start": { "line": 25, "column": 84 }, "end": { "line": 25, "column": 140 } } }, { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 1318, "end": 1387, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padEnd", "start": 1393, "end": 1490, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 101 } } }, { "type": "CommentLine", "value": "floor if number or convert non-number to 0;", "start": 1653, "end": 1698, "loc": { "start": { "line": 36, "column": 46 }, "end": { "line": 36, "column": 91 } } }, { "type": "CommentLine", "value": "append to original to ensure we are longer than needed", "start": 2092, "end": 2148, "loc": { "start": { "line": 43, "column": 84 }, "end": { "line": 43, "column": 140 } } }, { "type": "CommentLine", "value": " https://github.com/tc39/proposal-object-values-entries/blob/master/polyfill.js", "start": 2315, "end": 2396, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 85 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2404, "end": 2417, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 17 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2502, "end": 2515, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 17 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2621, "end": 2634, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 17 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2756, "end": 2769, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 17 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2806, "end": 2819, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 21 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 3111, "end": 3124, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 21 } } }, { "type": "CommentLine", "value": " Fetch polyfill", "start": 3687, "end": 3704, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 17 } } }, { "type": "CommentLine", "value": " Other polyfills", "start": 3730, "end": 3748, "loc": { "start": { "line": 101, "column": 0 }, "end": { "line": 101, "column": 18 } } } ], "tokens": [ { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 0, "end": 8, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mathPolyfills", "start": 9, "end": 22, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22, "end": 23, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23, "end": 24, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25, "end": 26, "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } } }, { "type": "CommentLine", "value": " Converts from degrees to radians.", "start": 32, "end": 68, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 74, "end": 78, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 78, "end": 79, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "radians", "start": 79, "end": 86, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 87, "end": 88, "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 18 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 89, "end": 97, "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 3, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 98, "end": 99, "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 3, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "degrees", "start": 99, "end": 106, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 106, "end": 107, "loc": { "start": { "line": 3, "column": 36 }, "end": { "line": 3, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 108, "end": 109, "loc": { "start": { "line": 3, "column": 38 }, "end": { "line": 3, "column": 39 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 119, "end": 125, "loc": { "start": { "line": 4, "column": 8 }, "end": { "line": 4, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 126, "end": 127, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "degrees", "start": 127, "end": 134, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 135, "end": 136, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 137, "end": 141, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 141, "end": 142, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PI", "start": 142, "end": 144, "loc": { "start": { "line": 4, "column": 31 }, "end": { "line": 4, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 144, "end": 145, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 34 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 146, "end": 147, "loc": { "start": { "line": 4, "column": 35 }, "end": { "line": 4, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 180, "start": 148, "end": 153, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 153, "end": 154, "loc": { "start": { "line": 4, "column": 42 }, "end": { "line": 4, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 160, "end": 161, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 161, "end": 162, "loc": { "start": { "line": 5, "column": 5 }, "end": { "line": 5, "column": 6 } } }, { "type": "CommentLine", "value": " Converts from radians to degrees.", "start": 170, "end": 206, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 212, "end": 216, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 216, "end": 217, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "degrees", "start": 217, "end": 224, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 225, "end": 226, "loc": { "start": { "line": 8, "column": 17 }, "end": { "line": 8, "column": 18 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 227, "end": 235, "loc": { "start": { "line": 8, "column": 19 }, "end": { "line": 8, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 236, "end": 237, "loc": { "start": { "line": 8, "column": 28 }, "end": { "line": 8, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "radians", "start": 237, "end": 244, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 244, "end": 245, "loc": { "start": { "line": 8, "column": 36 }, "end": { "line": 8, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 246, "end": 247, "loc": { "start": { "line": 8, "column": 38 }, "end": { "line": 8, "column": 39 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 257, "end": 263, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 264, "end": 265, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "radians", "start": 265, "end": 272, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 23 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 273, "end": 274, "loc": { "start": { "line": 9, "column": 24 }, "end": { "line": 9, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 180, "start": 275, "end": 280, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 280, "end": 281, "loc": { "start": { "line": 9, "column": 31 }, "end": { "line": 9, "column": 32 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 282, "end": 283, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 284, "end": 288, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 9, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 288, "end": 289, "loc": { "start": { "line": 9, "column": 39 }, "end": { "line": 9, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PI", "start": 289, "end": 291, "loc": { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 291, "end": 292, "loc": { "start": { "line": 9, "column": 42 }, "end": { "line": 9, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 298, "end": 299, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 299, "end": 300, "loc": { "start": { "line": 10, "column": 5 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 302, "end": 303, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 1 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 307, "end": 315, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringPolyfills", "start": 316, "end": 331, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 331, "end": 332, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 332, "end": 333, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 334, "end": 335, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 13, "column": 28 } } }, { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 341, "end": 410, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart", "start": 416, "end": 515, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 103 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 521, "end": 523, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 524, "end": 525, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 525, "end": 526, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 526, "end": 532, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 532, "end": 533, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 533, "end": 542, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 542, "end": 543, "loc": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padStart", "start": 543, "end": 551, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 551, "end": 552, "loc": { "start": { "line": 16, "column": 34 }, "end": { "line": 16, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 553, "end": 554, "loc": { "start": { "line": 16, "column": 36 }, "end": { "line": 16, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 564, "end": 570, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 570, "end": 571, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 571, "end": 580, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 580, "end": 581, "loc": { "start": { "line": 17, "column": 24 }, "end": { "line": 17, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padStart", "start": 581, "end": 589, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 590, "end": 591, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 35 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 592, "end": 600, "loc": { "start": { "line": 17, "column": 36 }, "end": { "line": 17, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padStart", "start": 601, "end": 609, "loc": { "start": { "line": 17, "column": 45 }, "end": { "line": 17, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 609, "end": 610, "loc": { "start": { "line": 17, "column": 53 }, "end": { "line": 17, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 610, "end": 622, "loc": { "start": { "line": 17, "column": 54 }, "end": { "line": 17, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 622, "end": 623, "loc": { "start": { "line": 17, "column": 66 }, "end": { "line": 17, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 624, "end": 633, "loc": { "start": { "line": 17, "column": 68 }, "end": { "line": 17, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 633, "end": 634, "loc": { "start": { "line": 17, "column": 77 }, "end": { "line": 17, "column": 78 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 635, "end": 636, "loc": { "start": { "line": 17, "column": 79 }, "end": { "line": 17, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 650, "end": 662, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 663, "end": 664, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 665, "end": 677, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": "<>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 8, "updateContext": null }, "value": ">>", "start": 678, "end": 680, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 681, "end": 682, "loc": { "start": { "line": 18, "column": 43 }, "end": { "line": 18, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 682, "end": 683, "loc": { "start": { "line": 18, "column": 44 }, "end": { "line": 18, "column": 45 } } }, { "type": "CommentLine", "value": "truncate if number, or convert non-number to 0;", "start": 684, "end": 733, "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 747, "end": 756, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 757, "end": 758, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 759, "end": 765, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 765, "end": 766, "loc": { "start": { "line": 19, "column": 30 }, "end": { "line": 19, "column": 31 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 766, "end": 772, "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 773, "end": 782, "loc": { "start": { "line": 19, "column": 38 }, "end": { "line": 19, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 783, "end": 786, "loc": { "start": { "line": 19, "column": 48 }, "end": { "line": 19, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 787, "end": 798, "loc": { "start": { "line": 19, "column": 52 }, "end": { "line": 19, "column": 63 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 799, "end": 800, "loc": { "start": { "line": 19, "column": 64 }, "end": { "line": 19, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 801, "end": 810, "loc": { "start": { "line": 19, "column": 66 }, "end": { "line": 19, "column": 75 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 811, "end": 812, "loc": { "start": { "line": 19, "column": 76 }, "end": { "line": 19, "column": 77 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 813, "end": 816, "loc": { "start": { "line": 19, "column": 78 }, "end": { "line": 19, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 816, "end": 817, "loc": { "start": { "line": 19, "column": 81 }, "end": { "line": 19, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 817, "end": 818, "loc": { "start": { "line": 19, "column": 82 }, "end": { "line": 19, "column": 83 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 832, "end": 834, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 835, "end": 836, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 836, "end": 840, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 840, "end": 841, "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 841, "end": 847, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 27 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 848, "end": 850, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 851, "end": 863, "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 863, "end": 864, "loc": { "start": { "line": 20, "column": 43 }, "end": { "line": 20, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 865, "end": 866, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 20, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 884, "end": 890, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 891, "end": 897, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 897, "end": 898, "loc": { "start": { "line": 21, "column": 29 }, "end": { "line": 21, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 898, "end": 902, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 902, "end": 903, "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 903, "end": 904, "loc": { "start": { "line": 21, "column": 35 }, "end": { "line": 21, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 918, "end": 919, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 920, "end": 924, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 925, "end": 926, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 944, "end": 956, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 957, "end": 958, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 959, "end": 971, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 972, "end": 973, "loc": { "start": { "line": 23, "column": 44 }, "end": { "line": 23, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 974, "end": 978, "loc": { "start": { "line": 23, "column": 46 }, "end": { "line": 23, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 978, "end": 979, "loc": { "start": { "line": 23, "column": 50 }, "end": { "line": 23, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 979, "end": 985, "loc": { "start": { "line": 23, "column": 51 }, "end": { "line": 23, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 985, "end": 986, "loc": { "start": { "line": 23, "column": 57 }, "end": { "line": 23, "column": 58 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1004, "end": 1006, "loc": { "start": { "line": 24, "column": 16 }, "end": { "line": 24, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1007, "end": 1008, "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1008, "end": 1020, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 32 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1021, "end": 1022, "loc": { "start": { "line": 24, "column": 33 }, "end": { "line": 24, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1023, "end": 1032, "loc": { "start": { "line": 24, "column": 35 }, "end": { "line": 24, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1032, "end": 1033, "loc": { "start": { "line": 24, "column": 44 }, "end": { "line": 24, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1033, "end": 1039, "loc": { "start": { "line": 24, "column": 45 }, "end": { "line": 24, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1039, "end": 1040, "loc": { "start": { "line": 24, "column": 51 }, "end": { "line": 24, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1041, "end": 1042, "loc": { "start": { "line": 24, "column": 53 }, "end": { "line": 24, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1064, "end": 1073, "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 1074, "end": 1076, "loc": { "start": { "line": 25, "column": 30 }, "end": { "line": 25, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1077, "end": 1086, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1086, "end": 1087, "loc": { "start": { "line": 25, "column": 42 }, "end": { "line": 25, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "repeat", "start": 1087, "end": 1093, "loc": { "start": { "line": 25, "column": 43 }, "end": { "line": 25, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1093, "end": 1094, "loc": { "start": { "line": 25, "column": 49 }, "end": { "line": 25, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1094, "end": 1106, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 62 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 1107, "end": 1108, "loc": { "start": { "line": 25, "column": 63 }, "end": { "line": 25, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1109, "end": 1118, "loc": { "start": { "line": 25, "column": 65 }, "end": { "line": 25, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1118, "end": 1119, "loc": { "start": { "line": 25, "column": 74 }, "end": { "line": 25, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1119, "end": 1125, "loc": { "start": { "line": 25, "column": 75 }, "end": { "line": 25, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1125, "end": 1126, "loc": { "start": { "line": 25, "column": 81 }, "end": { "line": 25, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1126, "end": 1127, "loc": { "start": { "line": 25, "column": 82 }, "end": { "line": 25, "column": 83 } } }, { "type": "CommentLine", "value": "append to original to ensure we are longer than needed", "start": 1128, "end": 1184, "loc": { "start": { "line": 25, "column": 84 }, "end": { "line": 25, "column": 140 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1202, "end": 1203, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1221, "end": 1227, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1228, "end": 1237, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1237, "end": 1238, "loc": { "start": { "line": 27, "column": 32 }, "end": { "line": 27, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 1238, "end": 1243, "loc": { "start": { "line": 27, "column": 33 }, "end": { "line": 27, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1243, "end": 1244, "loc": { "start": { "line": 27, "column": 38 }, "end": { "line": 27, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1244, "end": 1245, "loc": { "start": { "line": 27, "column": 39 }, "end": { "line": 27, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1245, "end": 1246, "loc": { "start": { "line": 27, "column": 40 }, "end": { "line": 27, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1247, "end": 1259, "loc": { "start": { "line": 27, "column": 42 }, "end": { "line": 27, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1259, "end": 1260, "loc": { "start": { "line": 27, "column": 54 }, "end": { "line": 27, "column": 55 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1261, "end": 1262, "loc": { "start": { "line": 27, "column": 56 }, "end": { "line": 27, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 1263, "end": 1269, "loc": { "start": { "line": 27, "column": 58 }, "end": { "line": 27, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1269, "end": 1270, "loc": { "start": { "line": 27, "column": 64 }, "end": { "line": 27, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1270, "end": 1274, "loc": { "start": { "line": 27, "column": 65 }, "end": { "line": 27, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1274, "end": 1275, "loc": { "start": { "line": 27, "column": 69 }, "end": { "line": 27, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1275, "end": 1276, "loc": { "start": { "line": 27, "column": 70 }, "end": { "line": 27, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1290, "end": 1291, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1301, "end": 1302, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1302, "end": 1303, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1309, "end": 1310, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 5 } } }, { "type": "CommentLine", "value": " https://github.com/uxitten/polyfill/blob/master/string.polyfill.js", "start": 1318, "end": 1387, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 73 } } }, { "type": "CommentLine", "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padEnd", "start": 1393, "end": 1490, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 101 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1496, "end": 1498, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1499, "end": 1500, "loc": { "start": { "line": 34, "column": 7 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1500, "end": 1501, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 1501, "end": 1507, "loc": { "start": { "line": 34, "column": 9 }, "end": { "line": 34, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1507, "end": 1508, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 1508, "end": 1517, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1517, "end": 1518, "loc": { "start": { "line": 34, "column": 25 }, "end": { "line": 34, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padEnd", "start": 1518, "end": 1524, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1524, "end": 1525, "loc": { "start": { "line": 34, "column": 32 }, "end": { "line": 34, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1526, "end": 1527, "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 34, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 1537, "end": 1543, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1543, "end": 1544, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 1544, "end": 1553, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1553, "end": 1554, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padEnd", "start": 1554, "end": 1560, "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1561, "end": 1562, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 33 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1563, "end": 1571, "loc": { "start": { "line": 35, "column": 34 }, "end": { "line": 35, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padEnd", "start": 1572, "end": 1578, "loc": { "start": { "line": 35, "column": 43 }, "end": { "line": 35, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1578, "end": 1579, "loc": { "start": { "line": 35, "column": 49 }, "end": { "line": 35, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1579, "end": 1591, "loc": { "start": { "line": 35, "column": 50 }, "end": { "line": 35, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 35, "column": 62 }, "end": { "line": 35, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1593, "end": 1602, "loc": { "start": { "line": 35, "column": 64 }, "end": { "line": 35, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1602, "end": 1603, "loc": { "start": { "line": 35, "column": 73 }, "end": { "line": 35, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1604, "end": 1605, "loc": { "start": { "line": 35, "column": 75 }, "end": { "line": 35, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1619, "end": 1631, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1632, "end": 1633, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1634, "end": 1646, "loc": { "start": { "line": 36, "column": 27 }, "end": { "line": 36, "column": 39 } } }, { "type": { "label": "<>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 8, "updateContext": null }, "value": ">>", "start": 1647, "end": 1649, "loc": { "start": { "line": 36, "column": 40 }, "end": { "line": 36, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1650, "end": 1651, "loc": { "start": { "line": 36, "column": 43 }, "end": { "line": 36, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1651, "end": 1652, "loc": { "start": { "line": 36, "column": 44 }, "end": { "line": 36, "column": 45 } } }, { "type": "CommentLine", "value": "floor if number or convert non-number to 0;", "start": 1653, "end": 1698, "loc": { "start": { "line": 36, "column": 46 }, "end": { "line": 36, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1712, "end": 1721, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1722, "end": 1723, "loc": { "start": { "line": 37, "column": 22 }, "end": { "line": 37, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 1724, "end": 1730, "loc": { "start": { "line": 37, "column": 24 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1730, "end": 1731, "loc": { "start": { "line": 37, "column": 30 }, "end": { "line": 37, "column": 31 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 1731, "end": 1737, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1738, "end": 1747, "loc": { "start": { "line": 37, "column": 38 }, "end": { "line": 37, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1748, "end": 1751, "loc": { "start": { "line": 37, "column": 48 }, "end": { "line": 37, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 1752, "end": 1763, "loc": { "start": { "line": 37, "column": 52 }, "end": { "line": 37, "column": 63 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1764, "end": 1765, "loc": { "start": { "line": 37, "column": 64 }, "end": { "line": 37, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1766, "end": 1775, "loc": { "start": { "line": 37, "column": 66 }, "end": { "line": 37, "column": 75 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1776, "end": 1777, "loc": { "start": { "line": 37, "column": 76 }, "end": { "line": 37, "column": 77 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 1778, "end": 1781, "loc": { "start": { "line": 37, "column": 78 }, "end": { "line": 37, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1781, "end": 1782, "loc": { "start": { "line": 37, "column": 81 }, "end": { "line": 37, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1782, "end": 1783, "loc": { "start": { "line": 37, "column": 82 }, "end": { "line": 37, "column": 83 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1797, "end": 1799, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1800, "end": 1801, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 38, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1801, "end": 1805, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1805, "end": 1806, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1806, "end": 1812, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 27 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1813, "end": 1814, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1815, "end": 1827, "loc": { "start": { "line": 38, "column": 30 }, "end": { "line": 38, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1827, "end": 1828, "loc": { "start": { "line": 38, "column": 42 }, "end": { "line": 38, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1829, "end": 1830, "loc": { "start": { "line": 38, "column": 44 }, "end": { "line": 38, "column": 45 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1848, "end": 1854, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 1855, "end": 1861, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1861, "end": 1862, "loc": { "start": { "line": 39, "column": 29 }, "end": { "line": 39, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1862, "end": 1866, "loc": { "start": { "line": 39, "column": 30 }, "end": { "line": 39, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 39, "column": 34 }, "end": { "line": 39, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1867, "end": 1868, "loc": { "start": { "line": 39, "column": 35 }, "end": { "line": 39, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1884, "end": 1888, "loc": { "start": { "line": 40, "column": 14 }, "end": { "line": 40, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1889, "end": 1890, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1908, "end": 1920, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1921, "end": 1922, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1923, "end": 1935, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1936, "end": 1937, "loc": { "start": { "line": 41, "column": 44 }, "end": { "line": 41, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1938, "end": 1942, "loc": { "start": { "line": 41, "column": 46 }, "end": { "line": 41, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1942, "end": 1943, "loc": { "start": { "line": 41, "column": 50 }, "end": { "line": 41, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1943, "end": 1949, "loc": { "start": { "line": 41, "column": 51 }, "end": { "line": 41, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1949, "end": 1950, "loc": { "start": { "line": 41, "column": 57 }, "end": { "line": 41, "column": 58 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1968, "end": 1970, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1971, "end": 1972, "loc": { "start": { "line": 42, "column": 19 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 1972, "end": 1984, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 32 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1985, "end": 1986, "loc": { "start": { "line": 42, "column": 33 }, "end": { "line": 42, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 1987, "end": 1996, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1996, "end": 1997, "loc": { "start": { "line": 42, "column": 44 }, "end": { "line": 42, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1997, "end": 2003, "loc": { "start": { "line": 42, "column": 45 }, "end": { "line": 42, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2003, "end": 2004, "loc": { "start": { "line": 42, "column": 51 }, "end": { "line": 42, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2005, "end": 2006, "loc": { "start": { "line": 42, "column": 53 }, "end": { "line": 42, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 2028, "end": 2037, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 2038, "end": 2040, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 2041, "end": 2050, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2050, "end": 2051, "loc": { "start": { "line": 43, "column": 42 }, "end": { "line": 43, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "repeat", "start": 2051, "end": 2057, "loc": { "start": { "line": 43, "column": 43 }, "end": { "line": 43, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2057, "end": 2058, "loc": { "start": { "line": 43, "column": 49 }, "end": { "line": 43, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 2058, "end": 2070, "loc": { "start": { "line": 43, "column": 50 }, "end": { "line": 43, "column": 62 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 2071, "end": 2072, "loc": { "start": { "line": 43, "column": 63 }, "end": { "line": 43, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 2073, "end": 2082, "loc": { "start": { "line": 43, "column": 65 }, "end": { "line": 43, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2082, "end": 2083, "loc": { "start": { "line": 43, "column": 74 }, "end": { "line": 43, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2083, "end": 2089, "loc": { "start": { "line": 43, "column": 75 }, "end": { "line": 43, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2089, "end": 2090, "loc": { "start": { "line": 43, "column": 81 }, "end": { "line": 43, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2090, "end": 2091, "loc": { "start": { "line": 43, "column": 82 }, "end": { "line": 43, "column": 83 } } }, { "type": "CommentLine", "value": "append to original to ensure we are longer than needed", "start": 2092, "end": 2148, "loc": { "start": { "line": 43, "column": 84 }, "end": { "line": 43, "column": 140 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2166, "end": 2167, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 17 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2185, "end": 2191, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 2192, "end": 2198, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 45, "column": 29 }, "end": { "line": 45, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2199, "end": 2203, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2203, "end": 2204, "loc": { "start": { "line": 45, "column": 34 }, "end": { "line": 45, "column": 35 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2205, "end": 2206, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padString", "start": 2207, "end": 2216, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2216, "end": 2217, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 2217, "end": 2222, "loc": { "start": { "line": 45, "column": 48 }, "end": { "line": 45, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2222, "end": 2223, "loc": { "start": { "line": 45, "column": 53 }, "end": { "line": 45, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2223, "end": 2224, "loc": { "start": { "line": 45, "column": 54 }, "end": { "line": 45, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2224, "end": 2225, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetLength", "start": 2226, "end": 2238, "loc": { "start": { "line": 45, "column": 57 }, "end": { "line": 45, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2238, "end": 2239, "loc": { "start": { "line": 45, "column": 69 }, "end": { "line": 45, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2239, "end": 2240, "loc": { "start": { "line": 45, "column": 70 }, "end": { "line": 45, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2254, "end": 2255, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2265, "end": 2266, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 47, "column": 9 }, "end": { "line": 47, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2273, "end": 2274, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2276, "end": 2277, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 1 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2281, "end": 2289, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "objectPolyfills", "start": 2290, "end": 2305, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2305, "end": 2306, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2306, "end": 2307, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2308, "end": 2309, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 28 } } }, { "type": "CommentLine", "value": " https://github.com/tc39/proposal-object-values-entries/blob/master/polyfill.js", "start": 2315, "end": 2396, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 85 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2404, "end": 2417, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 17 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2423, "end": 2428, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 2429, "end": 2435, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2436, "end": 2437, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Function", "start": 2438, "end": 2446, "loc": { "start": { "line": 55, "column": 19 }, "end": { "line": 55, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2446, "end": 2447, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 2447, "end": 2451, "loc": { "start": { "line": 55, "column": 28 }, "end": { "line": 55, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2451, "end": 2452, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 55, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 2452, "end": 2456, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2456, "end": 2457, "loc": { "start": { "line": 55, "column": 37 }, "end": { "line": 55, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Function", "start": 2457, "end": 2465, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2465, "end": 2466, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 2466, "end": 2470, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2470, "end": 2471, "loc": { "start": { "line": 55, "column": 51 }, "end": { "line": 55, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 2472, "end": 2477, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2477, "end": 2478, "loc": { "start": { "line": 55, "column": 58 }, "end": { "line": 55, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 2478, "end": 2487, "loc": { "start": { "line": 55, "column": 59 }, "end": { "line": 55, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2487, "end": 2488, "loc": { "start": { "line": 55, "column": 68 }, "end": { "line": 55, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 2488, "end": 2494, "loc": { "start": { "line": 55, "column": 69 }, "end": { "line": 55, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2494, "end": 2495, "loc": { "start": { "line": 55, "column": 75 }, "end": { "line": 55, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2495, "end": 2496, "loc": { "start": { "line": 55, "column": 76 }, "end": { "line": 55, "column": 77 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2502, "end": 2515, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 17 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2521, "end": 2526, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isEnumerable", "start": 2527, "end": 2539, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2540, "end": 2541, "loc": { "start": { "line": 57, "column": 23 }, "end": { "line": 57, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Function", "start": 2542, "end": 2550, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2550, "end": 2551, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 2551, "end": 2555, "loc": { "start": { "line": 57, "column": 34 }, "end": { "line": 57, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2555, "end": 2556, "loc": { "start": { "line": 57, "column": 38 }, "end": { "line": 57, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 2556, "end": 2560, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 57, "column": 43 }, "end": { "line": 57, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Function", "start": 2561, "end": 2569, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2569, "end": 2570, "loc": { "start": { "line": 57, "column": 52 }, "end": { "line": 57, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 2570, "end": 2574, "loc": { "start": { "line": 57, "column": 53 }, "end": { "line": 57, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2574, "end": 2575, "loc": { "start": { "line": 57, "column": 57 }, "end": { "line": 57, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 2576, "end": 2582, "loc": { "start": { "line": 57, "column": 59 }, "end": { "line": 57, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2582, "end": 2583, "loc": { "start": { "line": 57, "column": 65 }, "end": { "line": 57, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 2583, "end": 2592, "loc": { "start": { "line": 57, "column": 66 }, "end": { "line": 57, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2592, "end": 2593, "loc": { "start": { "line": 57, "column": 75 }, "end": { "line": 57, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "propertyIsEnumerable", "start": 2593, "end": 2613, "loc": { "start": { "line": 57, "column": 76 }, "end": { "line": 57, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2613, "end": 2614, "loc": { "start": { "line": 57, "column": 96 }, "end": { "line": 57, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2614, "end": 2615, "loc": { "start": { "line": 57, "column": 97 }, "end": { "line": 57, "column": 98 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2621, "end": 2634, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 17 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2640, "end": 2645, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "concat", "start": 2646, "end": 2652, "loc": { "start": { "line": 59, "column": 10 }, "end": { "line": 59, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2653, "end": 2654, "loc": { "start": { "line": 59, "column": 17 }, "end": { "line": 59, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Function", "start": 2655, "end": 2663, "loc": { "start": { "line": 59, "column": 19 }, "end": { "line": 59, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2663, "end": 2664, "loc": { "start": { "line": 59, "column": 27 }, "end": { "line": 59, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 2664, "end": 2668, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2668, "end": 2669, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 2669, "end": 2673, "loc": { "start": { "line": 59, "column": 33 }, "end": { "line": 59, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2673, "end": 2674, "loc": { "start": { "line": 59, "column": 37 }, "end": { "line": 59, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Function", "start": 2674, "end": 2682, "loc": { "start": { "line": 59, "column": 38 }, "end": { "line": 59, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2682, "end": 2683, "loc": { "start": { "line": 59, "column": 46 }, "end": { "line": 59, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 2683, "end": 2687, "loc": { "start": { "line": 59, "column": 47 }, "end": { "line": 59, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2687, "end": 2688, "loc": { "start": { "line": 59, "column": 51 }, "end": { "line": 59, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 2689, "end": 2694, "loc": { "start": { "line": 59, "column": 53 }, "end": { "line": 59, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2694, "end": 2695, "loc": { "start": { "line": 59, "column": 58 }, "end": { "line": 59, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 2695, "end": 2704, "loc": { "start": { "line": 59, "column": 59 }, "end": { "line": 59, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2704, "end": 2705, "loc": { "start": { "line": 59, "column": 68 }, "end": { "line": 59, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "concat", "start": 2705, "end": 2711, "loc": { "start": { "line": 59, "column": 69 }, "end": { "line": 59, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2711, "end": 2712, "loc": { "start": { "line": 59, "column": 75 }, "end": { "line": 59, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2712, "end": 2713, "loc": { "start": { "line": 59, "column": 76 }, "end": { "line": 59, "column": 77 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2719, "end": 2724, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 2725, "end": 2729, "loc": { "start": { "line": 60, "column": 10 }, "end": { "line": 60, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2730, "end": 2731, "loc": { "start": { "line": 60, "column": 15 }, "end": { "line": 60, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Reflect", "start": 2732, "end": 2739, "loc": { "start": { "line": 60, "column": 17 }, "end": { "line": 60, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2739, "end": 2740, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ownKeys", "start": 2740, "end": 2747, "loc": { "start": { "line": 60, "column": 25 }, "end": { "line": 60, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2747, "end": 2748, "loc": { "start": { "line": 60, "column": 32 }, "end": { "line": 60, "column": 33 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2756, "end": 2769, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 17 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2775, "end": 2777, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2778, "end": 2779, "loc": { "start": { "line": 63, "column": 7 }, "end": { "line": 63, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2779, "end": 2780, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 2780, "end": 2786, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2786, "end": 2787, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "values", "start": 2787, "end": 2793, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2793, "end": 2794, "loc": { "start": { "line": 63, "column": 22 }, "end": { "line": 63, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2795, "end": 2796, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 25 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2806, "end": 2819, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 2829, "end": 2835, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2835, "end": 2836, "loc": { "start": { "line": 65, "column": 14 }, "end": { "line": 65, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "values", "start": 2836, "end": 2842, "loc": { "start": { "line": 65, "column": 15 }, "end": { "line": 65, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2843, "end": 2844, "loc": { "start": { "line": 65, "column": 22 }, "end": { "line": 65, "column": 23 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2845, "end": 2853, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "values", "start": 2854, "end": 2860, "loc": { "start": { "line": 65, "column": 33 }, "end": { "line": 65, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2860, "end": 2861, "loc": { "start": { "line": 65, "column": 39 }, "end": { "line": 65, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 2861, "end": 2862, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2862, "end": 2863, "loc": { "start": { "line": 65, "column": 41 }, "end": { "line": 65, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2864, "end": 2865, "loc": { "start": { "line": 65, "column": 43 }, "end": { "line": 65, "column": 44 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2879, "end": 2885, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 2886, "end": 2892, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2892, "end": 2893, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 2911, "end": 2915, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2915, "end": 2916, "loc": { "start": { "line": 67, "column": 20 }, "end": { "line": 67, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 2916, "end": 2917, "loc": { "start": { "line": 67, "column": 21 }, "end": { "line": 67, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2917, "end": 2918, "loc": { "start": { "line": 67, "column": 22 }, "end": { "line": 67, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2918, "end": 2919, "loc": { "start": { "line": 67, "column": 23 }, "end": { "line": 67, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2937, "end": 2938, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "v", "start": 2938, "end": 2939, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2939, "end": 2940, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 2941, "end": 2942, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2942, "end": 2943, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 22 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2944, "end": 2946, "loc": { "start": { "line": 68, "column": 23 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "concat", "start": 2947, "end": 2953, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2953, "end": 2954, "loc": { "start": { "line": 68, "column": 32 }, "end": { "line": 68, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "v", "start": 2954, "end": 2955, "loc": { "start": { "line": 68, "column": 33 }, "end": { "line": 68, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2955, "end": 2956, "loc": { "start": { "line": 68, "column": 34 }, "end": { "line": 68, "column": 35 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 2957, "end": 2963, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 2964, "end": 2965, "loc": { "start": { "line": 68, "column": 43 }, "end": { "line": 68, "column": 44 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2966, "end": 2969, "loc": { "start": { "line": 68, "column": 45 }, "end": { "line": 68, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 2970, "end": 2978, "loc": { "start": { "line": 68, "column": 49 }, "end": { "line": 68, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 2979, "end": 2981, "loc": { "start": { "line": 68, "column": 58 }, "end": { "line": 68, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isEnumerable", "start": 2982, "end": 2994, "loc": { "start": { "line": 68, "column": 61 }, "end": { "line": 68, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2994, "end": 2995, "loc": { "start": { "line": 68, "column": 73 }, "end": { "line": 68, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 2995, "end": 2996, "loc": { "start": { "line": 68, "column": 74 }, "end": { "line": 68, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2996, "end": 2997, "loc": { "start": { "line": 68, "column": 75 }, "end": { "line": 68, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 2998, "end": 2999, "loc": { "start": { "line": 68, "column": 77 }, "end": { "line": 68, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2999, "end": 3000, "loc": { "start": { "line": 68, "column": 78 }, "end": { "line": 68, "column": 79 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3001, "end": 3002, "loc": { "start": { "line": 68, "column": 80 }, "end": { "line": 68, "column": 81 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3003, "end": 3004, "loc": { "start": { "line": 68, "column": 82 }, "end": { "line": 68, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 3004, "end": 3005, "loc": { "start": { "line": 68, "column": 83 }, "end": { "line": 68, "column": 84 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3005, "end": 3006, "loc": { "start": { "line": 68, "column": 84 }, "end": { "line": 68, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 3006, "end": 3007, "loc": { "start": { "line": 68, "column": 85 }, "end": { "line": 68, "column": 86 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3007, "end": 3008, "loc": { "start": { "line": 68, "column": 86 }, "end": { "line": 68, "column": 87 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3008, "end": 3009, "loc": { "start": { "line": 68, "column": 87 }, "end": { "line": 68, "column": 88 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3010, "end": 3011, "loc": { "start": { "line": 68, "column": 89 }, "end": { "line": 68, "column": 90 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3012, "end": 3013, "loc": { "start": { "line": 68, "column": 91 }, "end": { "line": 68, "column": 92 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3013, "end": 3014, "loc": { "start": { "line": 68, "column": 92 }, "end": { "line": 68, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3014, "end": 3015, "loc": { "start": { "line": 68, "column": 93 }, "end": { "line": 68, "column": 94 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3015, "end": 3016, "loc": { "start": { "line": 68, "column": 94 }, "end": { "line": 68, "column": 95 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3034, "end": 3035, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 17 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3035, "end": 3036, "loc": { "start": { "line": 69, "column": 17 }, "end": { "line": 69, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3050, "end": 3051, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3051, "end": 3052, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3062, "end": 3063, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3063, "end": 3064, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3070, "end": 3071, "loc": { "start": { "line": 72, "column": 4 }, "end": { "line": 72, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3079, "end": 3081, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3082, "end": 3083, "loc": { "start": { "line": 74, "column": 7 }, "end": { "line": 74, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3083, "end": 3084, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 3084, "end": 3090, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3090, "end": 3091, "loc": { "start": { "line": 74, "column": 15 }, "end": { "line": 74, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entries", "start": 3091, "end": 3098, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3098, "end": 3099, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3100, "end": 3101, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 26 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 3111, "end": 3124, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 3134, "end": 3140, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3140, "end": 3141, "loc": { "start": { "line": 76, "column": 14 }, "end": { "line": 76, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entries", "start": 3141, "end": 3148, "loc": { "start": { "line": 76, "column": 15 }, "end": { "line": 76, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3149, "end": 3150, "loc": { "start": { "line": 76, "column": 23 }, "end": { "line": 76, "column": 24 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3151, "end": 3159, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entries", "start": 3160, "end": 3167, "loc": { "start": { "line": 76, "column": 34 }, "end": { "line": 76, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3167, "end": 3168, "loc": { "start": { "line": 76, "column": 41 }, "end": { "line": 76, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 3168, "end": 3169, "loc": { "start": { "line": 76, "column": 42 }, "end": { "line": 76, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3169, "end": 3170, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3171, "end": 3172, "loc": { "start": { "line": 76, "column": 45 }, "end": { "line": 76, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3186, "end": 3192, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 3193, "end": 3199, "loc": { "start": { "line": 77, "column": 19 }, "end": { "line": 77, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3199, "end": 3200, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 3218, "end": 3222, "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3222, "end": 3223, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 3223, "end": 3224, "loc": { "start": { "line": 78, "column": 21 }, "end": { "line": 78, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3224, "end": 3225, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3225, "end": 3226, "loc": { "start": { "line": 78, "column": 23 }, "end": { "line": 78, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3244, "end": 3245, "loc": { "start": { "line": 79, "column": 16 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 3245, "end": 3246, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 79, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3246, "end": 3247, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 3248, "end": 3249, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3249, "end": 3250, "loc": { "start": { "line": 79, "column": 21 }, "end": { "line": 79, "column": 22 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3251, "end": 3253, "loc": { "start": { "line": 79, "column": 23 }, "end": { "line": 79, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "concat", "start": 3254, "end": 3260, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3260, "end": 3261, "loc": { "start": { "line": 79, "column": 32 }, "end": { "line": 79, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 3261, "end": 3262, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3262, "end": 3263, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 35 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3264, "end": 3270, "loc": { "start": { "line": 79, "column": 36 }, "end": { "line": 79, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 3271, "end": 3272, "loc": { "start": { "line": 79, "column": 43 }, "end": { "line": 79, "column": 44 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3273, "end": 3276, "loc": { "start": { "line": 79, "column": 45 }, "end": { "line": 79, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 3277, "end": 3285, "loc": { "start": { "line": 79, "column": 49 }, "end": { "line": 79, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3286, "end": 3288, "loc": { "start": { "line": 79, "column": 58 }, "end": { "line": 79, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isEnumerable", "start": 3289, "end": 3301, "loc": { "start": { "line": 79, "column": 61 }, "end": { "line": 79, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3301, "end": 3302, "loc": { "start": { "line": 79, "column": 73 }, "end": { "line": 79, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 3302, "end": 3303, "loc": { "start": { "line": 79, "column": 74 }, "end": { "line": 79, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3303, "end": 3304, "loc": { "start": { "line": 79, "column": 75 }, "end": { "line": 79, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 3305, "end": 3306, "loc": { "start": { "line": 79, "column": 77 }, "end": { "line": 79, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3306, "end": 3307, "loc": { "start": { "line": 79, "column": 78 }, "end": { "line": 79, "column": 79 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3308, "end": 3309, "loc": { "start": { "line": 79, "column": 80 }, "end": { "line": 79, "column": 81 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3310, "end": 3311, "loc": { "start": { "line": 79, "column": 82 }, "end": { "line": 79, "column": 83 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3311, "end": 3312, "loc": { "start": { "line": 79, "column": 83 }, "end": { "line": 79, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 3312, "end": 3313, "loc": { "start": { "line": 79, "column": 84 }, "end": { "line": 79, "column": 85 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3313, "end": 3314, "loc": { "start": { "line": 79, "column": 85 }, "end": { "line": 79, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "O", "start": 3315, "end": 3316, "loc": { "start": { "line": 79, "column": 87 }, "end": { "line": 79, "column": 88 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3316, "end": 3317, "loc": { "start": { "line": 79, "column": 88 }, "end": { "line": 79, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "k", "start": 3317, "end": 3318, "loc": { "start": { "line": 79, "column": 89 }, "end": { "line": 79, "column": 90 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3318, "end": 3319, "loc": { "start": { "line": 79, "column": 90 }, "end": { "line": 79, "column": 91 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3319, "end": 3320, "loc": { "start": { "line": 79, "column": 91 }, "end": { "line": 79, "column": 92 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3320, "end": 3321, "loc": { "start": { "line": 79, "column": 92 }, "end": { "line": 79, "column": 93 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3322, "end": 3323, "loc": { "start": { "line": 79, "column": 94 }, "end": { "line": 79, "column": 95 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3324, "end": 3325, "loc": { "start": { "line": 79, "column": 96 }, "end": { "line": 79, "column": 97 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3325, "end": 3326, "loc": { "start": { "line": 79, "column": 97 }, "end": { "line": 79, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3326, "end": 3327, "loc": { "start": { "line": 79, "column": 98 }, "end": { "line": 79, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3327, "end": 3328, "loc": { "start": { "line": 79, "column": 99 }, "end": { "line": 79, "column": 100 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3346, "end": 3347, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 17 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3347, "end": 3348, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3362, "end": 3363, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3363, "end": 3364, "loc": { "start": { "line": 81, "column": 13 }, "end": { "line": 81, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3374, "end": 3375, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3375, "end": 3376, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3382, "end": 3383, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3385, "end": 3386, "loc": { "start": { "line": 84, "column": 0 }, "end": { "line": 84, "column": 1 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3390, "end": 3398, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 86, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initPolyfills", "start": 3399, "end": 3412, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3412, "end": 3413, "loc": { "start": { "line": 86, "column": 22 }, "end": { "line": 86, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3413, "end": 3414, "loc": { "start": { "line": 86, "column": 23 }, "end": { "line": 86, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3415, "end": 3416, "loc": { "start": { "line": 86, "column": 25 }, "end": { "line": 86, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mathPolyfills", "start": 3422, "end": 3435, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3435, "end": 3436, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3436, "end": 3437, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3437, "end": 3438, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stringPolyfills", "start": 3444, "end": 3459, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3459, "end": 3460, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3460, "end": 3461, "loc": { "start": { "line": 88, "column": 20 }, "end": { "line": 88, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3461, "end": 3462, "loc": { "start": { "line": 88, "column": 21 }, "end": { "line": 88, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "objectPolyfills", "start": 3468, "end": 3483, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3483, "end": 3484, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3484, "end": 3485, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3485, "end": 3486, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3488, "end": 3489, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 90, "column": 1 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3493, "end": 3501, "loc": { "start": { "line": 92, "column": 0 }, "end": { "line": 92, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initExtensions", "start": 3502, "end": 3516, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3516, "end": 3517, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3517, "end": 3518, "loc": { "start": { "line": 92, "column": 24 }, "end": { "line": 92, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3519, "end": 3520, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 3526, "end": 3532, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3532, "end": 3533, "loc": { "start": { "line": 93, "column": 10 }, "end": { "line": 93, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prototype", "start": 3533, "end": 3542, "loc": { "start": { "line": 93, "column": 11 }, "end": { "line": 93, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3542, "end": 3543, "loc": { "start": { "line": 93, "column": 20 }, "end": { "line": 93, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceAll", "start": 3543, "end": 3553, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3554, "end": 3555, "loc": { "start": { "line": 93, "column": 32 }, "end": { "line": 93, "column": 33 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3556, "end": 3564, "loc": { "start": { "line": 93, "column": 34 }, "end": { "line": 93, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3565, "end": 3566, "loc": { "start": { "line": 93, "column": 43 }, "end": { "line": 93, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "search", "start": 3566, "end": 3572, "loc": { "start": { "line": 93, "column": 44 }, "end": { "line": 93, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3572, "end": 3573, "loc": { "start": { "line": 93, "column": 50 }, "end": { "line": 93, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replacement", "start": 3574, "end": 3585, "loc": { "start": { "line": 93, "column": 52 }, "end": { "line": 93, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3585, "end": 3586, "loc": { "start": { "line": 93, "column": 63 }, "end": { "line": 93, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3587, "end": 3588, "loc": { "start": { "line": 93, "column": 65 }, "end": { "line": 93, "column": 66 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 3598, "end": 3601, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 3602, "end": 3608, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3609, "end": 3610, "loc": { "start": { "line": 94, "column": 19 }, "end": { "line": 94, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3611, "end": 3615, "loc": { "start": { "line": 94, "column": 21 }, "end": { "line": 94, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3615, "end": 3616, "loc": { "start": { "line": 94, "column": 25 }, "end": { "line": 94, "column": 26 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3626, "end": 3632, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 3633, "end": 3639, "loc": { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3639, "end": 3640, "loc": { "start": { "line": 95, "column": 21 }, "end": { "line": 95, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 3640, "end": 3645, "loc": { "start": { "line": 95, "column": 22 }, "end": { "line": 95, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3645, "end": 3646, "loc": { "start": { "line": 95, "column": 27 }, "end": { "line": 95, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "search", "start": 3646, "end": 3652, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3652, "end": 3653, "loc": { "start": { "line": 95, "column": 34 }, "end": { "line": 95, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3653, "end": 3654, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 3654, "end": 3658, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3658, "end": 3659, "loc": { "start": { "line": 95, "column": 40 }, "end": { "line": 95, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replacement", "start": 3659, "end": 3670, "loc": { "start": { "line": 95, "column": 41 }, "end": { "line": 95, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3670, "end": 3671, "loc": { "start": { "line": 95, "column": 52 }, "end": { "line": 95, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3671, "end": 3672, "loc": { "start": { "line": 95, "column": 53 }, "end": { "line": 95, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3678, "end": 3679, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3679, "end": 3680, "loc": { "start": { "line": 96, "column": 5 }, "end": { "line": 96, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3682, "end": 3683, "loc": { "start": { "line": 97, "column": 0 }, "end": { "line": 97, "column": 1 } } }, { "type": "CommentLine", "value": " Fetch polyfill", "start": 3687, "end": 3704, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 17 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 3706, "end": 3712, "loc": { "start": { "line": 100, "column": 0 }, "end": { "line": 100, "column": 6 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "whatwg-fetch", "start": 3713, "end": 3727, "loc": { "start": { "line": 100, "column": 7 }, "end": { "line": 100, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3727, "end": 3728, "loc": { "start": { "line": 100, "column": 21 }, "end": { "line": 100, "column": 22 } } }, { "type": "CommentLine", "value": " Other polyfills", "start": 3730, "end": 3748, "loc": { "start": { "line": 101, "column": 0 }, "end": { "line": 101, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initPolyfills", "start": 3750, "end": 3763, "loc": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3763, "end": 3764, "loc": { "start": { "line": 102, "column": 13 }, "end": { "line": 102, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3764, "end": 3765, "loc": { "start": { "line": 102, "column": 14 }, "end": { "line": 102, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3765, "end": 3766, "loc": { "start": { "line": 102, "column": 15 }, "end": { "line": 102, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initExtensions", "start": 3768, "end": 3782, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 103, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3782, "end": 3783, "loc": { "start": { "line": 103, "column": 14 }, "end": { "line": 103, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3783, "end": 3784, "loc": { "start": { "line": 103, "column": 15 }, "end": { "line": 103, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3784, "end": 3785, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3787, "end": 3787, "loc": { "start": { "line": 104, "column": 0 }, "end": { "line": 104, "column": 0 } } } ] }