πŸ“Š JavaScript
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> 
  • (A) a
  • (B) y
  • (C) n
  • (D) c
πŸ’¬ Discuss
βœ… Correct Answer: (A) a

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
172
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Tanmay
Publisher
πŸ“ˆ
83%
Success Rate