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]
On this page of the site you can watch the video online Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript with a duration of hours minute second in good quality, which was uploaded by the user We Will Code 11 March 2017, share the link with friends and acquaintances, this video has already been watched 2,383 times on youtube and it was liked by 12 viewers. Enjoy your viewing!