spread-call-rest-lookup.js (179B)
1 var count = 0; 2 var scope = { 3 get args() { 4 count++; 5 return ""; 6 } 7 }; 8 9 with (scope) { 10 [].push(...args); 11 } 12 13 // Ensure |args| is only looked up once. 14 assertEq(count, 1);
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |