Back to Browse

Programming Tip Of The Day #13: == vs === | Difference Between Double vs Triple Equals in JavaScript

10.8K views
Jul 13, 2018
9:05

Welcome all, we will see Difference Between Double vs Triple Equals in JavaScript in Hindi. == vs === in Javascript. Double equals When using double equals in JavaScript we are testing for loose equality. Double equals also performs type coercion. Type coercion means that two values are compared only after attempting to convert them into a common type. Triple Equals When using triple equals === in JavaScript, we are testing for strict equality. This means both the type and the value we are comparing have to be the same. The == operator will compare for equality after doing any necessary type conversions. The === operator will not do the conversion, so if two values are not the same type === will simply return false. Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines. Don't Forget to Follow me on all Social Network, Instagram Link: https://www.instagram.com/vinodthapa55 Facebook Link: https://www.facebook.com/vinodthapa55 Twitter Link: https://twitter.com/vb55thapa Facebook ThapaTechnical Page Link: https://www.facebook.com/vinodbahadur...

Download

1 formats

Video Formats

360pmp416.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Programming Tip Of The Day #13: == vs === | Difference Between Double vs Triple Equals in JavaScript | NatokHD