Use single quotes for identifiers
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
exports.stringToArrayBuffer = (string) => {
|
||||
if (typeof string !== 'string') {
|
||||
throw new TypeError('"string" must be a string');
|
||||
throw new TypeError("'string' must be a string");
|
||||
}
|
||||
|
||||
const array = new Uint8Array(string.length);
|
||||
|
Reference in New Issue
Block a user