Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
LayoutTests
/
js
/
script-tests
/
var-declarations-zero-width.js
blob: 1303b824fded2a8bd532d128890d1e59355d0753 [
file
] [
log
] [
blame
]
description
(
"This page tests if U+200C and U+200D are allowed as part of an identifier."
);
shouldBe
(
"var x\u200c = 42; x\u200c"
,
"42"
);
shouldBe
(
"var x\u200d = 43; x\u200d"
,
"43"
);
shouldBe
(
"var x\u200c\u200d = 44; x\u200c\u200d"
,
"44"
);