Sign in
webkit
/
WebKit
/
6fd14ef296a8be3b10d082813cd9f7c62299d564
/
.
/
JSTests
/
stress
/
internal-function-call.js
blob: ecbfa7b7eab2322cc06009a8b362291a15e5d05d [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
var
func
=
Date
;
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
shouldBe
(
typeof
func
(),
"string"
);