Match the code with the correct output.
String searching
Match the pair
Report a typo
Match the items from left and right columns
console.log("".charAt(0));
console.log(" ".lastIndexOf());
console.log("why where what".indexOf("wh", 2));
console.log("why where what".includes("wh", 10));
console.log("".includes(" ", -1));
-1
Empty String
false
true
4
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.