Strings - JavaScript Tutorial - w3Schools - Chapter-16 English

Publié le: 28 août 2022
sur la chaîne: w3Schools Tutorials
417
6

JavaScript strings are for storing and manipulating text.

A JavaScript string is zero or more characters written inside quotes.

To find the length of a string, use the built-in length property:

For best readability, programmers often like to avoid code lines longer than 80 characters.

If a JavaScript statement does not fit on one line, the best place to break it is after an operator.

Normally, JavaScript strings are primitive values, created from literals.

Do not create Strings objects.

The new keyword complicates the code and slows down execution speed.

String objects can produce unexpected results.

Comparing two JavaScript objects always returns false.


Sur cette page du site, vous pouvez voir la vidéo en ligne Strings - JavaScript Tutorial - w3Schools - Chapter-16 English durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur w3Schools Tutorials 28 août 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 417 fois et il a aimé 6 téléspectateurs. Bon visionnage!