Tell us what’s happening:
I don’t think description of this topic is correct. match method doesn’t only return [“Hello”], [“expressions”] but in the array there is also index, input, groups.
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
I think your concern doesn’t apply as the exercise is trying to explain how to use match in a limited educational setting. FCC is not attempting to recreate the documentation for how match works in full. You will find this is the case for other methods taught as well.
I didn’t come across similar issue before, but if it’s not uncommon. At least message that I should double check with official documentation, because info provided in descriptions of the challenges is not correct or complete would be appreciated.