(size)
| 2026 | } |
| 2027 | |
| 2028 | function assertSize (size) { |
| 2029 | if (typeof size !== 'number') { |
| 2030 | throw new TypeError('"size" argument must be a number') |
| 2031 | } else if (size < 0) { |
| 2032 | throw new RangeError('"size" argument must not be negative') |
| 2033 | } |
| 2034 | } |
| 2035 | |
| 2036 | function alloc (that, size, fill, encoding) { |
| 2037 | assertSize(size); |
no outgoing calls
no test coverage detected