improve test case

This commit is contained in:
alexlamsl 2017-06-01 04:04:27 +08:00
parent c0b25ab8fa
commit 9b7d7ed53b

View File

@ -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]
);
}
}