Pergunta de entrevista da empresa GlobalLogic

what will be the output of alert[null==undefined)

Respostas da entrevista

Sigiloso

4 de fev. de 2016

It will alert "true" Reason: null is false, and undefined is also false. So comparison operator (==) is asking "Is false = false". Response is true, and hence the alert.

1

Sigiloso

9 de ago. de 2013

alerts true