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