Type Conversion

Implicit and Explicit

The process of converting one type into another is called type conversion.

Implicit type

To specific when javascript does it for you it is called Impicit type.

  • Automatically performed by JavaScript.

eg - 
10 * "10"
100

10 + "10"
1010

10 / "10"
1

Explicit type

The type ecplicitllay converted into another type known as Explicit conversion.

  • Manually performed by user
eg- 
10 + Number("10")
20

-Here  we explicitally convert string 10 into number 10