What does this expression return?
'xaaay'.match(/a*?/)[0]
- ''
- 'a'
- 'aaa'
- null
a*? is satisfied by zero characters, so it matches the empty string at index 0.'xaaay'.match(/a*?/)[0]
a*? is satisfied by zero characters, so it matches the empty string at index 0.