Strings - JavaScript Tutorial - w3Schools - Chapter-16 English

Опубликовано: 28 Август 2022
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн Strings - JavaScript Tutorial - w3Schools - Chapter-16 English длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь w3Schools Tutorials 28 Август 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 417 раз и оно понравилось 6 зрителям. Приятного просмотра!