(integer) 1 == (char) '1' it will return true and for 1==='1' it will return false beacause of strict comparasion. For more information https://www.guru99.com/difference-equality-strict-operator-javascript.html#:~:text=%3D%3D%20in%20JavaScript%20is%20used,datatype%20and%20compares%20two%20values.&text=Checks%20the%20equality%20of%20two,two%20operands%20with%20their%20types.
– SHAYAKMay 09 '22 at 15:57