Type Conversions

Understand what type conversions are and how to use them in JavaScript.

An expression’s evaluation can result in type conversions. These are called implicit conversions, as they happen automatically without the programmer’s intervention. For example, using the + operator between a string and a number causes the concatenation of the two values into a string result.

Get hands-on with 1200+ tech skills courses.