(size)
| 9853 | } |
| 9854 | |
| 9855 | function assertSize (size) { |
| 9856 | if (typeof size !== 'number') { |
| 9857 | throw new TypeError('"size" argument must be a number') |
| 9858 | } else if (size < 0) { |
| 9859 | throw new RangeError('"size" argument must not be negative') |
| 9860 | } |
| 9861 | } |
| 9862 | |
| 9863 | function alloc (that, size, fill, encoding) { |
| 9864 | assertSize(size) |
no outgoing calls
no test coverage detected