(length)
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | function setupArrayReduce(length) { |
| 6 | let a = new Array(length); |
| 7 | for (let i=0;i<length;i++) { |
| 8 | a[i] = ''+i; |
| 9 | } |
| 10 | return Object.freeze(a); |
| 11 | } |
| 12 | |
| 13 | const kArraylength = 200; |
| 14 | const frozenArrayReduce = setupArrayReduce(kArraylength); |