mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 06:25:30 +02:00
Restore missing object definitions
This commit is contained in:
parent
b92e68646d
commit
79dfcf3e85
@ -52,6 +52,8 @@ assert.sameValue(2 ** !n, 1, "!s -> !2 -> false -> ToNumber(false) -> 0");
|
||||
|
||||
|
||||
var capture = [];
|
||||
var leftValue = { valueOf() { capture.push("leftValue"); return 3; }};
|
||||
var rightValue = { valueOf() { capture.push("rightValue"); return 2; }};
|
||||
|
||||
(capture.push("left"), leftValue) ** +(capture.push("right"), rightValue);
|
||||
// ^
|
||||
|
Loading…
x
Reference in New Issue
Block a user