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 2198 times
Edit
6
Community EvaluationsNo one has reviewed this question yet, be the first!