mirror of
https://github.com/tc39/test262.git
synced 2025-05-03 06:20:37 +02:00
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";
|