diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-04-25 02:42:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 02:42:54 +0800 |
commit | c56d89f804e852f8678fa7557f781de893c138bf (patch) | |
tree | e5b9f93dd56a34dacedd49f26a0970f36b1fb373 /test | |
parent | c2157063505dd211acc907f32a1a7e892aa0973f (diff) | |
download | tracifyjs-c56d89f804e852f8678fa7557f781de893c138bf.tar.gz tracifyjs-c56d89f804e852f8678fa7557f781de893c138bf.zip |
enhance `unsafe` (#3382)
Diffstat (limited to 'test')
-rw-r--r-- | test/compress/evaluate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js index 5b16824b..89bfe2a8 100644 --- a/test/compress/evaluate.js +++ b/test/compress/evaluate.js @@ -820,8 +820,8 @@ unsafe_charAt_noop: { } expect: { console.log( - s.charAt(0), - "string".charAt(x), + s[0], + "string"[0 | x], (typeof x)[0] ); } |