Explicit Coercion: Strings and Numbers
You Don't Know JS
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