In this challenge we continue exploring bracket notation and learn a handy trick to target the last character of a string. Subtracting 1 from the length of a string variable and setting the result inside bracket notations will target that lest character. For example to target the last character of a string var myCode = "code", you can target the "e" character like this myCode[myCode.length - 1]
На этой странице сайта вы можете посмотреть видео онлайн Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь We Will Code 11 Март 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,383 раз и оно понравилось 12 зрителям. Приятного просмотра!