1. Truthy and Falsy values What is truth and falsy value? When we use condition in javascript code have true and false vaule. IF we write something inside the condition and the will be 0,null,undefined,NAN, and empty string it will be flasy value. Then the other all the value will be truthy value. 2. Double equal (==) vs triple equal (===) In javascript…