Q. What will be the output of following JavaScript Code?
Code:
<script type="text/javascript" language="javascript"> var a = "Tanmay Acarya"; var result = a.substring(4, 5); document.write(result); </script>
β
Correct Answer: (A)
a