Question from the Javascript test

What will this code display?

Hard

What will this code display?

var foo = function(){};

console.log(foo === foo);
console.log(foo === function(){});
console.log(function(){} === function(){});
console.log(foo instanceof function(){});
Author: Jean-marie CléryStatus: PublishedQuestion passed 1880 times
Edit
4
Community EvaluationsNo one has reviewed this question yet, be the first!