[CSS Container Queries] offsetWidth/Height and similar should update layout for conta...
[webkit.git] / JSTests / get-my-argument-by-val-negative-3.js
blobb6121945d04e6c399579127eeac560cee86bd72b
1 function assert(b) {
2     if (!b)
3         throw new Error;
6 function main() {
7     let result;
9     const v13 = [0, 0]; 
10     Array.prototype[-1] = v13;
12     const func = function func(i, ...args) {
13         result = args[i];
14     };  
15     noInline(func);
17     for (let v30 = 0; v30 < 10000; v30++) {
18         func(1000, 10);
19     }   
21     func(-1, 10);
22     assert(result === v13);
24 noDFG(main);
25 main();