Small error in javascript lesson(spanish)


This can lead to misunderstandings


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.