Operator [ ] and strings ( like charAt() )

by Mohan 2012-09-20 23:32:58



Operator [ ] and strings ( like charAt() )
JavaScript 1.6
var str = 'foobar';
Print( str[4] );
prints:
a


779
like
0
dislike
0
mail
flag

You must LOGIN to add comments