Sign in
webkit
/
WebKit
/
3da0da11cb9a42427b3ef3e01b993922cf1465a7
/
.
/
JSTests
/
stress
/
16bit-code.js
blob: 70a39eefe3d673570c22b6980a9f3d149a8a1de6 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
var
f
=
new
Function
(`
obj
`,
`
return
0
$
{
"+ obj.i"
.
repeat
(
1000
)}`);
shouldBe
(
f
({
i
:
42
}),
42000
);