Sign in
webkit
/
WebKit
/
6e2a77f8cb18067e3ef1240a3602dba85379b5cd
/
.
/
JSTests
/
stress
/
parse-regexp-as-token.js
blob: ebbfaeb88efddba130d8a8c6c21cb77d7425cd38 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(`
bad value
:
$
{
String
(
actual
)}`);
}
var
arrow
=
()
=>
/Cocoa/
;
shouldBe
(
arrow
.
toString
(),
`()
=>
/Cocoa/
`);