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