Question:What is the correct output for the following code?
var str=”IDB-BISEW ROUND-13”;
alert(str.indexOf(‘E’));
 

A 6 

B 7 

C 8 

D 9 

+ Answer
+ Report
Total Preview: 471

Copyright © 2024. Powered by Intellect Software Ltd