What would the following code return?
“This is a test”.indexOf(“h”,0);
A.
3
B.
14
C.
2
D.
1
What would the following code return?
“This is a test”.indexOf(“h”,0);
What would the following code return?
“This is a test”.indexOf(“h”,0);
A.
3
B.
14
C.
2
D.
1