JavaScript - Check if String is Empty

preview_player
Показать описание
To check if a given string is empty in JavaScript, we can use .length property of string objects, or directly compare them to an empty string.

Reference:
Рекомендации по теме
welcome to shbcf.ru