Sign in
webkit
/
WebKit
/
6ddf72b170615ecec95a6e91c205227cc12d556b
/
.
/
JSTests
/
microbenchmarks
/
function-prototype-put-non-reified.js
blob: 4008a50df40ac5054808c56bd8be7d00484dbb41 [
file
] [
log
] [
blame
]
(
function
()
{
var
fn
;
var
obj
=
{};
for
(
var
i
=
0
;
i
<
4e5
;
++
i
)
{
fn
=
function
()
{};
fn
.
prototype
=
obj
;
}
if
(
fn
.
prototype
!==
obj
)
throw
new
Error
(
"Bad assertion!"
);
})();