diff --git a/lib/output.js b/lib/output.js index ddc28820..dd94fea5 100644 --- a/lib/output.js +++ b/lib/output.js @@ -152,10 +152,8 @@ function OutputStream(options) { case "\x0B": return options.screw_ie8 ? "\\v" : "\\x0B"; case "\0": return /[0-7]/.test(str.charAt(i+1)) ? "\\x00" : "\\0"; - default: - return to_ascii(s); } - return s; + return to_ascii(s); }); function quote_single() { return "'" + str.replace(/\x27/g, "\\'") + "'";