dhust
6/3/2017 - 12:22 AM

// source http://jsbin.com/dahasaj

var number = 5;
var text = '5';

console.log(number);
console.log(text);

console.log(number == text);
console.log(number === text);

<script id="jsbin-javascript">
var number = 5;
var text = '5';

console.log(number);
console.log(text);

console.log(number == text);
console.log(number === text);
</script>


<script id="jsbin-source-javascript" type="text/javascript">var number = 5;
var text = '5';

console.log(number);
console.log(text);

console.log(number == text);
console.log(number === text);</script>