Coercion in JavaScript Coercion in JavaScript

Explicit Coercion: Strings and Numbers

Explicit coercion happens when it’s obvious from the code that one type is being converted to another. Kyle shares a few code examples demonstrating ways to explicitly coerce values from String to Numbers and vice versa .
Get Unlimited Access Now