You have already completed these exercises!
Do you want to take them again?
You completed the JS String Search Exercises from W3Schools.com
Share on:
Consider the following code:let x = 'Hello world!';alert(x.indexOf('Hello'));What will be the alerted result?
let x = 'Hello world!';alert(x.indexOf('Hello'));
-1
0
1
true