Sign in
webkit
/
WebKit
/
6756d1c4625eeb8d03076cb127515d00fa7c2e16
/
.
/
JSTests
/
es6
/
RegExp_syntax_extensions_hyphens_in_character_sets.js
blob: 0150d8144802a5a22d5070050689c7b711c76cda [
file
] [
log
] [
blame
]
function
test
()
{
return
/[\w-_]/
.
exec
(
"-"
)[
0
]
===
"-"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);