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