(prototype, name, fn)
| 12 | export const kChunkVisualWidth = 6; |
| 13 | |
| 14 | function define(prototype, name, fn) { |
| 15 | Object.defineProperty(prototype, name, {value: fn, enumerable: false}); |
| 16 | } |
| 17 | |
| 18 | define(Array.prototype, 'max', function(fn) { |
| 19 | if (this.length === 0) return undefined; |
no test coverage detected