From c56d89f804e852f8678fa7557f781de893c138bf Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Thu, 25 Apr 2019 02:42:54 +0800 Subject: enhance `unsafe` (#3382) --- test/compress/evaluate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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] ); } -- cgit v1.2.3