enhance unsafe (#3382)

This commit is contained in:
Alex Lam S.L
2019-04-25 02:42:54 +08:00
committed by GitHub
parent c215706350
commit c56d89f804
2 changed files with 86 additions and 34 deletions

View File

@@ -820,8 +820,8 @@ unsafe_charAt_noop: {
}
expect: {
console.log(
s.charAt(0),
"string".charAt(x),
s[0],
"string"[0 | x],
(typeof x)[0]
);
}