hello developers, sathelli srikanth here
welcome back learn Type Conversions and Coercion in javascript
The process of converting one data type to another data type is called type conversion.
There are two types of type conversion in JavaScript.
Implicit Conversion
Explicit Conversion
JavaScript Implicit Conversion
In certain situations, JavaScript automatically converts one data type to another (to the right type).
This is known as implicit conversion.
Coercion in javascript is another name for implicit conversion
You can also convert one data type to another as per your needs.
The type conversion that you do manually is known as explicit type conversion.
In JavaScript, explicit type conversions are done using built-in methods.
They are Number() Boolean() String()
please like share and subscribe : )
thank you!