$ ./guess_the_languageRegex
Regex · easy · #5

What does this expression return when nothing matches?

'hello'.match(/xyz/)
  1. null
  2. []
  3. undefined
  4. false
String.prototype.match returns null (not an empty array) when there is no match.
Play Regex ▸