Question #2079

What is the output of the following javascript code?<br>var name = 'Kanya Kumari' ;<br>var x = name.substr(8,2);<br>document.write(x);

A.
um
B.
ma
C.
ar
D.
Ku
Explanation

No explanation provided.