Sign in
webkit
/
WebKit
/
04f027a29717944fe119ba52f37628c508e2d03c
/
.
/
JSTests
/
stress
/
number-to-string-strength-reduction.js
blob: 6f0993f31ca3ce37597166d190c841e3379dec9c [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
function
test
()
{
var
target
=
42
;
return
target
.
toString
(
16
);
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
shouldBe
(
test
(),
`
2a
`);