In the freecodecamp quest, it says, if the regex you passed in got a match, the regex will be returned in a string and had an object wrapper on it.
I typed in these commands in chrome console, and the result I get is this:
let string = "hello world"; let regex = /hello/; console.log(string.match(regex));
["hello", index: 0, input: "hello world", groups: undefined]
Where did all the extra info coming from???