Follow

These puzzles just disappear when you used immutable data. Problem solved.
---
RT @ravinwashere
JavaScript Quiz 🏆

Comment the output of this code?

let x = 5;
let y = new Number(5);

console.log( x == y);
console.log( x === y);

Also, let me know the reason for your answer below!

A: true and false
B: false and false
C: true and true
twitter.com/ravinwashere/statu

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.