don't escape null characters as \0 when followed by any digit (#2273)
authorErik Desjardins <erikdesjardins@users.noreply.github.com>
Mon, 14 Aug 2017 04:30:08 +0000 (00:30 -0400)
committerAlex Lam S.L <alexlamsl@gmail.com>
Mon, 14 Aug 2017 04:30:08 +0000 (12:30 +0800)
commit16d40915b480c38b9ef359223cd4f46146eb36c0
treef865cc4e4850e404d6ba424f36d44259b3fe799d
parente7c21e87e3a3d1c9700941ecdf97a2a50fa2ae66
don't escape null characters as \0 when followed by any digit (#2273)

fixes #2272
lib/output.js
test/compress/ascii.js
test/compress/concat-strings.js
test/mocha/string-literal.js