Sign in
webkit
/
WebKit
/
983b299acc32acd2faaf762fdcd3ded1f17c80ab
/
.
/
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
);