The includes() method

Hello !

I’m asking wether the Array.prototype.includes() return a boolean value or the value entered. I don’t know how the exercise work otherwise. In the MDN documentation, it’s been said that he output is a boolean value. However, in the exercise, the desired output is words.

hi @yohannd , Welcome onboard to the community.

I’d like to suggest if you can post the code that doesn’t produces the desired output so the members who doesn’t have access to PRO membership can likewise assist you with the problem.

Thanks! Looking forward to your revision.

yes, .includes() returns a boolean (true or false)
You’d use this in an if-statement or something similar in the exercise.