Sign in
webkit
/
WebKit
/
9c8be771a698cc743f1dc94e95a2f7a35fcb0bb1
/
.
/
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!"
);
})();