aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1770.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-01-19 00:36:30 +0800
committerGitHub <noreply@github.com>2018-01-19 00:36:30 +0800
commit082e004b872ecb158e5a28702898688742b5da86 (patch)
tree81b5183f9f108c64680d106c0d51af43c4751e5a /test/compress/issue-1770.js
parent983e69128b0e6da78d71ad9b77d798f31a10ca44 (diff)
downloadtracifyjs-082e004b872ecb158e5a28702898688742b5da86.tar.gz
tracifyjs-082e004b872ecb158e5a28702898688742b5da86.zip
compress `undefined` property names (#2811)
- enforce property names as string - handle `void 0` as `undefined` in `hoist_props` & `reduce_vars`
Diffstat (limited to 'test/compress/issue-1770.js')
-rw-r--r--test/compress/issue-1770.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/issue-1770.js b/test/compress/issue-1770.js
index f63f8453..7a529b2c 100644
--- a/test/compress/issue-1770.js
+++ b/test/compress/issue-1770.js
@@ -84,12 +84,12 @@ numeric_literal: {
' 0: 0,',
' "-0": 1,',
' 42: 2,',
- ' "42": 3,',
+ ' 42: 3,',
' 37: 4,',
' o: 5,',
' 1e42: 6,',
' b: 7,',
- ' "1e+42": 8',
+ ' 1e42: 8',
'};',
'',
'console.log(obj[-0], obj[-""], obj["-0"]);',
'2020-12-26 17:27:03 +0800'>2020-12-26workaround `schedule` delays on GitHub Actions (#4463)Alex Lam S.L 2020-09-26improve `ufuzz` duty cycle heuristic (#4153)Alex Lam S.L 2020-09-22fix corner case in `unused` (#4147)Alex Lam S.L fixes #4146 2020-09-19report immediate `ufuzz` failure from Pull Request (#4128)Alex Lam S.L 2020-08-09improve `ufuzz` duty cycle heuristic (#4045)Alex Lam S.L 2020-08-08workaround incorrect workflow status (#4044)Alex Lam S.L 2020-08-07improve `ufuzz` duty cycle on GitHub Actions (#4043)Alex Lam S.L 2020-08-07tweak GitHub Actions (#4042)Alex Lam S.L 2020-08-05tweak GitHub Actions (#4037)Alex Lam S.L 2020-06-10perform `ufuzz` on more stable Node.js version (#3981)Alex Lam S.L 2020-05-25perform `ufuzz` on Pull Requests (#3925)Alex Lam S.L 2020-05-21improve job resilience (#3913)Alex Lam S.L 2020-05-06fix intermittent CI failures on GitHub Actions (#3851)Alex Lam S.L 2020-04-30update dependencies (#3828)Alex Lam S.L - actions/checkout@v2 2020-04-22adjust `ufuzz` schedule (#3810)Alex Lam S.L 2020-04-22adjust `ufuzz` schedule (#3807)Alex Lam S.L 2020-04-21speed up `ufuzz` on GitHub Actions (#3806)Alex Lam S.L 2020-04-14expand testing on Node.js versions (#3779)Alex Lam S.L 2020-04-07workaround intermittent nodejs.org corruptions (#3766)Alex Lam S.L 2020-04-07fix export of PATH to Node.js (#3765)Alex Lam S.L 2020-04-06fix Github Actions retry logic (#3763)Alex Lam S.L 2020-04-03improve resilience against nodejs.org failures (#3759)Alex Lam S.L 2020-03-30improve resilience against nodejs.org failures (#3758)Alex Lam S.L 2020-03-02speed up CI (#3741)Alex Lam S.L 2019-11-26use stable Node.js version for fuzzing (#3605)Alex Lam S.L 2019-11-14migrate to GitHub Actions (#3586)Alex Lam S.L 2019-11-10enable cache on GitHub Actions (#3570)Alex Lam S.L 2019-10-25separate ufuzz job failures (#3525)Alex Lam S.L 2019-10-21fix GitHub Actions script for fuzzing (#3504)Alex Lam S.L 2019-10-21enable GitHub Actions (#3503)Alex Lam S.L 2018-04-24remove unsupported platformalexlamsl 2017-11-15Update ISSUE_TEMPLATE.md (#2481)kzc 2017-07-27issue template: describe acceptable JS input (#2255)kzc 2017-05-10Update issue template: change harmony to uglify-es (#1900)kzc 2017-04-26Update ISSUE_TEMPLATE.md (#1846)kzc 2017-03-24Update ISSUE_TEMPLATE.mdAlex Lam S.L