filmov
tv
JavaScript Weird Moments - Part 1: null vs undefined

Показать описание
JavaScript Weird Moments - Part 1: null vs undefined
The difference between double equal and triple equal is in their comparison behaviour.
"==" operator checks for equality after performing type coercion.
"===" Operator checks for equality without performing type coercion.
In case of null and undefined when using "==" sign Nalanda find our losely equal because they are both falls the values.
However when using "===", null and undefined are not strictly equivalent because they are of different types.
#javascript #codinglife #developerlife #codelife #javascriptmemes #trendingtech #codingmysteries
The difference between double equal and triple equal is in their comparison behaviour.
"==" operator checks for equality after performing type coercion.
"===" Operator checks for equality without performing type coercion.
In case of null and undefined when using "==" sign Nalanda find our losely equal because they are both falls the values.
However when using "===", null and undefined are not strictly equivalent because they are of different types.
#javascript #codinglife #developerlife #codelife #javascriptmemes #trendingtech #codingmysteries