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