23
Aug
Double equals to compares the values , while triple equals to compare two objects For example: [code lang="js"] var h1=""; var h2=""; console.log(h1==h2); // Return True console.log(h1===h2); // Will also Return True [/code] But now In this case where we have objects [code lang="js"] var h1={}; var h2={}; console.log(h1===h2); // This Will return false, Object Comparision; [/code] ...
Read More