Extract Match es

Tell us what’s happening:
may be this is not in the correct place, you tell me. on this exercize you do not have to do anything but run the test.

Your code so far


let extractStr = "Extract the word 'coding' from this string.";
let codingRegex = /coding/; // Change this line
let result = extractStr.match(codingRegex);// Change this line

Your browser information:

User Agent is: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/extract-matches/

seems you just have to return array with the matching word in it and thats all

I’m not sure what your question is because you changed the code. The test starts with default code:

let extractStr = "Extract the word 'coding' from this string.";
let codingRegex = /change/; // Change this line
let result = extractStr; // Change this line

Your code is different, so you must have changed the default code?