| | 1 | |
| | 2 | /** |
| | 3 | * Builtin object. |
| | 4 | * @class |
| | 5 | * @name Array |
| | 6 | */ |
| | 7 | |
| | 8 | /**#@+ |
| | 9 | * Extension to builtin array. |
| | 10 | * @memberOf Array |
| | 11 | * @method |
| | 12 | */ |
| | 13 | |
| | 14 | /** |
| | 15 | * @returns Boolen if some array members... |
| | 16 | */ |
| | 17 | Array.prototype.some = function(){}; |
| | 18 | |
| | 19 | /** |
| | 20 | * Change every element of an array. |
| | 21 | * @returns Filtered array copy. |
| | 22 | */ |
| | 23 | Array.prototype.filter = function(){}; |
| | 24 | |
| | 25 | /**#@-*/ |
| | 26 | |
| | 27 | |
| | 28 | /** |
| | 29 | * A first in, first out data structure. |
| | 30 | * @constructor |
| | 31 | */ |
| | 32 | Queue = function(){}; |
| | 33 | |
| | 34 | /**#@+ |
| | 35 | * Extension to Queue. |
| | 36 | * @memberOf Queue |
| | 37 | */ |
| | 38 | |
| | 39 | rewind = function(){ |
| | 40 | } |
| | 41 | |
| | 42 | // should close automatically here. |