Sign in
webkit
/
WebKit
/
2da83065dc8741a57e1da4d56832fab81ee699a4
/
.
/
JSTests
/
microbenchmarks
/
object-assign-replace.js
blob: 4e2021fe313345affc8fae5d671c42316c01e562 [
file
] [
log
] [
blame
]
function
test
(
target
,
source
)
{
Object
.
assign
(
target
,
source
);
}
noInline
(
test
);
var
target
=
{};
var
source
=
{
a
:
42
,
b
:
42
,
c
:
42
};
for
(
var
i
=
0
;
i
<
2e6
;
++
i
)
test
(
target
,
source
);