9.
What is type conversion in JavaScript?
It is the process of converting a value from one data type to another.
It is the process of converting a number to a string.
It is the process of converting a string to a boolean value.
It is the process of converting a boolean value to a number.
Correct: A
Type conversion in JavaScript allows us to change the data type of a value to a different data type. This is achieved using various built-in functions and operators in JavaScript, such as toString(), parseInt(), parseFloat(), and Boolean(). Type conversion is important in situations where we need to perform operations or comparisons with values of different data types.