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]
En esta página del sitio puede ver el video en línea Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript de Duración hora minuto segunda en buena calidad , que subió el usuario We Will Code 11 marzo 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,383 veces y le gustó 12 a los espectadores. Disfruta viendo!