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