()
| 2522 | } |
| 2523 | |
| 2524 | function parseObjectInitialiser() { |
| 2525 | var properties = [], hasProto = {value: false}, node = new Node(); |
| 2526 | |
| 2527 | expect('{'); |
| 2528 | |
| 2529 | while (!match('}')) { |
| 2530 | properties.push(parseObjectProperty(hasProto)); |
| 2531 | |
| 2532 | if (!match('}')) { |
| 2533 | expectCommaSeparator(); |
| 2534 | } |
| 2535 | } |
| 2536 | |
| 2537 | expect('}'); |
| 2538 | |
| 2539 | return node.finishObjectExpression(properties); |
| 2540 | } |
| 2541 | |
| 2542 | // 11.1.6 The Grouping Operator |
| 2543 |
no test coverage detected