Understanding Javascript Methods 2023, JavaScript String Methods, to uppercase and Remove Whitespace

Publicado el: 11 febrero 2022
en el canal de: We Will Code
178
2

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!


En esta página del sitio puede ver el video en línea Understanding Javascript Methods 2023, JavaScript String Methods, to uppercase and Remove Whitespace de Duración hora minuto segunda en buena calidad , que subió el usuario We Will Code 11 febrero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 178 veces y le gustó 2 a los espectadores. Disfruta viendo!