Category: JavaScript/React

See all javascript-related posts.

String Primitives vs String Objects

Strings are useful for holding data that can be expressed in text form. In JavaScript, a string is a combination of zero or more characters enclosed in quotes. Depending on how you declare a string, the output may differ. This can cause unwanted bugs or even break your code. Relatable?…