Скачать
Use Bracket Notation to Find the NthtoLast Character in a String, freeCodeCamp Basic Javascript
Автор: We Will Code
Загружено: 2017-03-11
Просмотров: 1823
Описание: In this challenge we learn how to target a certain character at the end of our string by using .length minus the number of spaces back you want to target for example take this myName variable, "var myName = "Jose" If I wanted to target the "s" which is the second to last letters I would simply do this myName[myName.length - 2] and that would get the "s".
Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: