()
| 1478 | value, // Place holder for the value function. |
| 1479 | |
| 1480 | array = function () { |
| 1481 | |
| 1482 | var array = []; |
| 1483 | |
| 1484 | if (ch === '[') { |
| 1485 | next('['); |
| 1486 | white(); |
| 1487 | if (ch === ']') { |
| 1488 | next(']'); |
| 1489 | return array; // empty array |
| 1490 | } |
| 1491 | while (ch) { |
| 1492 | array.push(value()); |
| 1493 | white(); |
| 1494 | if (ch === ']') { |
| 1495 | next(']'); |
| 1496 | return array; |
| 1497 | } |
| 1498 | next(','); |
| 1499 | white(); |
| 1500 | } |
| 1501 | } |
| 1502 | error("Bad array"); |
| 1503 | }, |
| 1504 | |
| 1505 | object = function () { |
| 1506 |
no test coverage detected