{ "type": "Script", "span": { "start": 156, "end": 340, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 156, "end": 207, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 162, "end": 206, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 162, "end": 169, "ctxt": 0 }, "value": "locales", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrayExpression", "span": { "start": 172, "end": 206, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 173, "end": 178, "ctxt": 0 }, "value": "ban", "raw": "'ban'" } }, { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 180, "end": 196, "ctxt": 0 }, "value": "id-u-co-pinyin", "raw": "'id-u-co-pinyin'" } }, { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 198, "end": 205, "ctxt": 0 }, "value": "de-ID", "raw": "'de-ID'" } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 208, "end": 261, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 214, "end": 260, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 214, "end": 221, "ctxt": 0 }, "value": "options", "optional": false, "typeAnnotation": null }, "init": { "type": "TsConstAssertion", "span": { "start": 224, "end": 260, "ctxt": 0 }, "expression": { "type": "ObjectExpression", "span": { "start": 224, "end": 251, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 226, "end": 239, "ctxt": 0 }, "value": "localeMatcher", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 241, "end": 249, "ctxt": 0 }, "value": "lookup", "raw": "'lookup'" } } ] } }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 262, "end": 340, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 262, "end": 339, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 262, "end": 273, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 262, "end": 269, "ctxt": 0 }, "value": "console", "optional": false }, "property": { "type": "Identifier", "span": { "start": 270, "end": 273, "ctxt": 0 }, "value": "log", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "CallExpression", "span": { "start": 274, "end": 338, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 274, "end": 332, "ctxt": 0 }, "object": { "type": "CallExpression", "span": { "start": 274, "end": 327, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 274, "end": 309, "ctxt": 0 }, "object": { "type": "MemberExpression", "span": { "start": 274, "end": 290, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 274, "end": 278, "ctxt": 0 }, "value": "Intl", "optional": false }, "property": { "type": "Identifier", "span": { "start": 279, "end": 290, "ctxt": 0 }, "value": "PluralRules", "optional": false } }, "property": { "type": "Identifier", "span": { "start": 291, "end": 309, "ctxt": 0 }, "value": "supportedLocalesOf", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 310, "end": 317, "ctxt": 0 }, "value": "locales", "optional": false } }, { "spread": null, "expression": { "type": "Identifier", "span": { "start": 319, "end": 326, "ctxt": 0 }, "value": "options", "optional": false } } ], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 328, "end": 332, "ctxt": 0 }, "value": "join", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 333, "end": 337, "ctxt": 0 }, "value": ", ", "raw": "', '" } } ], "typeArguments": null } } ], "typeArguments": null } } ], "interpreter": null }