How does the JS engine actually compare objects (like function declarations) for equality?
var f1 = function(){};
var f2 = function(){};
console.log(f1 === f2); //false
what is actually happening behind the scenes to determine that the object references are different? Is it comparing memory locations?