if (fill !== undefined) {
// Only pay attention to encoding if it's a string. This
// prevents accidentally sending in a number that would
- // be interpretted as a start offset.
+ // be interpreted as a start offset.
return typeof encoding === 'string'
? createBuffer(size).fill(fill, encoding)
: createBuffer(size).fill(fill)
return ''
}
- // Force coersion to uint32. This will also coerce falsey/NaN values to 0.
+ // Force coercion to uint32. This will also coerce falsey/NaN values to 0.
end >>>= 0
start >>>= 0