Why aren't all strings created equal in JavaScript?

preview_player
Показать описание

In JavaScript the string primitive can be invoked as well as a String() constructor. Here we look at the differences in declaring a string as a primitive or going through the optional constructor.
Рекомендации по теме