blob: 1310efac77a5c9d712f143b409b0fb32b65f5086 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
var total = 0
x = [ [] ]
x[0].valueOf = function () {
total++;
}
function f(y) {
y != Math.abs()
}
(function() {
f()
f(x[0])
f(x[0])
})()
assertEq(total, 2)
|