Advertisements
Advertisements
Question
Trace output of following JavaScript code.
var str="Information Technology"; document.write(str.lastlndexOf("o");
Options
18
19
20
21
MCQ
Solution
19
shaalaa.com
JavaScript Built-in Objects - String
Is there an error in this question or solution?