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