Huh, so match contains the matched text, but unlike a typical array it also contains index and input properties. Since arrays are objects this is of course possible but nonetheless suprising. It's gotchas such as these that define mastery of the language, for better or worse.