0

Includes() in Javascript

Includes() method isn't working in the SoloLearn playground editor. Maybe the problem is in javascript version which SoloLearn use?

19th Jul 2019, 12:34 AM
Marin
Marin - avatar
2 Respostas
+ 11
There's no such keyword, operator in javascript. There's analogue - import. Maybe this one in js language?
19th Jul 2019, 3:08 AM
Вап
0
I apologise for misunderstanding. I was thinking of a method called 'includes()'. I edited my question in order to avoid misunderstanding. https://www.w3schools.com/jsref/jsref_includes.asp
25th Jul 2019, 1:53 AM
Marin
Marin - avatar