Strings - JavaScript Tutorial - w3Schools - Chapter-16 English

Published: 28 August 2022
on channel: 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.


On this page of the site you can watch the video online Strings - JavaScript Tutorial - w3Schools - Chapter-16 English with a duration of hours minute second in good quality, which was uploaded by the user w3Schools Tutorials 28 August 2022, share the link with friends and acquaintances, this video has already been watched 417 times on youtube and it was liked by 6 viewers. Enjoy your viewing!