()
| 92049 | return finishArrayExpression(elements); |
| 92050 | } // 11.1.5 Object Initialiser |
| 92051 | function parseObjectPropertyKey() { |
| 92052 | index = lookahead.start; |
| 92053 | const token = lex(); // Note: This function is called only from parseObjectProperty(), where |
| 92054 | // EOF and Punctuator tokens are already filtered out. |
| 92055 | if (token.type === TokenStringLiteral || token.type === TokenNumericLiteral) { |
| 92056 | if (token.octal) throwError(token, MessageStrictOctalLiteral); |
| 92057 | return finishLiteral(token); |
| 92058 | } |
| 92059 | return finishIdentifier(token.value); |
| 92060 | } |
| 92061 | function parseObjectProperty() { |
| 92062 | var token, key, id, value; |
| 92063 | index = lookahead.start; |
no test coverage detected