Quiz · Strings · lesson 6 of 12
Quiz — slice and indexOf
What does the program print?
const s = "JavaScript";
console.log(s.slice(4), s.indexOf("a"), s.indexOf("z"));Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.