From 8d26e73e67cd73a096cca84263aae2df044748ca Mon Sep 17 00:00:00 2001 From: Jason Davies Date: Tue, 8 Oct 2013 14:47:58 +0100 Subject: [PATCH] Fix typo. --- lib/output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/output.js b/lib/output.js index a29e6969..d4c417a5 100644 --- a/lib/output.js +++ b/lib/output.js @@ -96,7 +96,7 @@ function OutputStream(options) { case '"': ++dq; return '"'; case "'": ++sq; return "'"; case "\0": - var next = s.charCodeAt(i + 1); + var next = str.charCodeAt(i + 1); return 48 <= next && next <= 57 ? "\\x00" : "\\0"; } return s;