$ ./guess_the_languageRegex
Regex · easy · #18

What does this expression return?

/^hi/.test('oh hi')
  1. false
  2. true
  3. null
  4. undefined
^ anchors the match to the start of the string, and "oh hi" starts with "oh".
Play Regex ▸