That is JavaScript - if you concatenate a string a...
# help
g
That is JavaScript - if you concatenate a string and a regex it just takes the regex as a string
Copy code
'foo' + /^bar$/
'foo/^bar$/'
4 Views