Predict the output of the following code snippet

var x=” HIGHER SECONDARY”;

alert(x.charAt(4));


Share with your friends
Call

It displays a message box with character ‘E’ from the fifth (4 + 1) place

Talk Doctor Online in Bissoy App