aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/compress/evaluate.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js
index 020d7cf3..99245d0d 100644
--- a/test/compress/evaluate.js
+++ b/test/compress/evaluate.js
@@ -780,13 +780,15 @@ unsafe_charAt_noop: {
input: {
console.log(
s.charAt(0),
- "string".charAt(x)
+ "string".charAt(x),
+ (typeof x).charAt()
);
}
expect: {
console.log(
s.charAt(0),
- "string".charAt(x)
+ "string".charAt(x),
+ (typeof x)[0]
);
}
}