What exactly is Type Coercion in Javascript?

前端 未结 10 1312
后悔当初
后悔当初 2020-11-22 04:36

What exactly is type coercion in Javascript?

For example, on the use of == instead of ===?

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 05:30

    If data type is not equal with each other then Coercion Happen. like 3 == "3" or boolen == integer

提交回复
热议问题