aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output.js')
-rw-r--r--lib/output.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js
index 60a4a26c..dc78a5da 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -96,7 +96,7 @@ function OutputStream(options) {
case "\u2029": return "\\u2029";
case '"': ++dq; return '"';
case "'": ++sq; return "'";
- case "\0": return "\\0";
+ case "\0": return "\\x00";
}
return s;
});