(size)
| 45861 | } |
| 45862 | |
| 45863 | function assertSize(size) { |
| 45864 | if (typeof size !== 'number') { |
| 45865 | throw new TypeError('"size" argument must be a number'); |
| 45866 | } else if (size < 0) { |
| 45867 | throw new RangeError('"size" argument must not be negative'); |
| 45868 | } |
| 45869 | } |
| 45870 | |
| 45871 | function alloc(that, size, fill, encoding) { |
| 45872 | assertSize(size); |
no outgoing calls
no test coverage detected