Fix typo.
This commit is contained in:
parent
46cd2c1895
commit
8d26e73e67
|
|
@ -96,7 +96,7 @@ function OutputStream(options) {
|
||||||
case '"': ++dq; return '"';
|
case '"': ++dq; return '"';
|
||||||
case "'": ++sq; return "'";
|
case "'": ++sq; return "'";
|
||||||
case "\0":
|
case "\0":
|
||||||
var next = s.charCodeAt(i + 1);
|
var next = str.charCodeAt(i + 1);
|
||||||
return 48 <= next && next <= 57 ? "\\x00" : "\\0";
|
return 48 <= next && next <= 57 ? "\\x00" : "\\0";
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user