Sign in
webkit
/
WebKit
/
f6013b2d8a67a21431419ad45d183d56cb11b105
/
.
/
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"
);