62
rated 0 times
[
67]
[
5]
/ answers: 1 / hits: 42818
/ 15 Years ago, fri, january 1, 2010, 12:00:00
the most darndest thing! the following code prints out 'llo' instead of the expected 'wo'. i get such surprising results for a few other numbers. what am i missing here?
alert('helloworld'.substring(5, 2));
More From » string