What is the difference between null and undifind?

What is the difference between null and undifind?

Null means there is no object here, there should be no value, the value is empty-it is converted to a value of 0

undifind means that there can be a value here, but this value is undefined-converted to a value as NaN

 

 

 

Guess you like

Origin blog.csdn.net/zhongheng310/article/details/114197957