Small error in javascript lesson(spanish)


#1

This can lead to misunderstandings


#2

It's because you specify index start and index end, but index end is NOT included in the result.
So if you want 2 characters, you call substring(1,3) or substring(15,18). You just have to put index end to value of how many characters you want + 1.