aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1588.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-05-12 14:57:41 +0800
committerGitHub <noreply@github.com>2017-05-12 14:57:41 +0800
commitc391576d52852322a7fcfbaeabc9d5626e628c8b (patch)
treee0f27ac065ec9340bcd5bcd152f8714cf79fdcc9 /test/compress/issue-1588.js
parentac73c5d4211b9ecff0f9650a032e964ef1cad585 (diff)
downloadtracifyjs-c391576d52852322a7fcfbaeabc9d5626e628c8b.tar.gz
tracifyjs-c391576d52852322a7fcfbaeabc9d5626e628c8b.zip
remove support for `const` (#1910)
As this is not part of ES5.
Diffstat (limited to 'test/compress/issue-1588.js')
-rw-r--r--test/compress/issue-1588.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/compress/issue-1588.js b/test/compress/issue-1588.js
index 4e20a21d..187d9f6c 100644
--- a/test/compress/issue-1588.js
+++ b/test/compress/issue-1588.js
@@ -85,15 +85,3 @@ unsafe_undefined: {
}
expect_stdout: true
}
-
-runtime_error: {
- input: {
- const a = 1;
- console.log(a++);
- }
- expect: {
- const a = 1;
- console.log(a++);
- }
- expect_stdout: true
-}