What does this expression return?
/^[A-z]$/.test('_')
- true
- false
- null
- SyntaxError
The range A-z spans code points 65-122, which includes
Play Regex ▸
[ \ ] ^ _ and the backtick between Z and a./^[A-z]$/.test('_')
[ \ ] ^ _ and the backtick between Z and a.