In this Codecademy JavaScript lesson, we take a look at JavaScript Methods in 2023 and beyond. We learn that methods allow us to perform actions. In this specific lesson, we use 2 available JavaScript String Methods. We learn that in order to use a method, we must have a string, then immediately follow it with a dot (.) operator, then the name of the method. For example, if we have the string, "hello", and we want to make all letters capitalized, we can utilize the .toUpperCase() method and do so. It would look like this, 'hello'.toUpperCase() and this would accomplish the goal. The next method we learn about is .trim() which will allow us to remove any whitespace in the beginning or end of a string. Learning about JavaScript Methods 2023 will allow you to understand the different tools that are available for you in the JavaScript programming language!
On this page of the site you can watch the video online Understanding Javascript Methods 2023, JavaScript String Methods, to uppercase and Remove Whitespace with a duration of hours minute second in good quality, which was uploaded by the user We Will Code 11 February 2022, share the link with friends and acquaintances, this video has already been watched 178 times on youtube and it was liked by 2 viewers. Enjoy your viewing!