This comment is hidden because it contains spoiler information about the solution
For these that can not pass the test, the function is call "greet" with two e not "great".
g means global, so instead of matching the first x or first o, it match all the x and o in the string. i meaning case insensitive, it will match both upper case X/O and lower case x/o.
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
For these that can not pass the test, the function is call "greet" with two e not "great".
g means global, so instead of matching the first x or first o, it match all the x and o in the string. i meaning case insensitive, it will match both upper case X/O and lower case x/o.