mirror of https://github.com/tc39/test262.git
14 lines
222 B
JavaScript
14 lines
222 B
JavaScript
|
function foo(o) {
|
||
|
return o.r.input;
|
||
|
}
|
||
|
noInline(foo);
|
||
|
|
||
|
Object.assign({}, RegExp);
|
||
|
|
||
|
for (let i = 0; i < 10000; i++)
|
||
|
foo({r: RegExp});
|
||
|
|
||
|
let input = foo({r: RegExp});
|
||
|
if (typeof input !== "string")
|
||
|
throw "FAILED";
|