Skip to content

Instantly share code, notes, and snippets.

@dhust
Created June 3, 2017 00:22
Show Gist options
  • Save dhust/96dff715d3b4079a34a2c91c20725946 to your computer and use it in GitHub Desktop.
Save dhust/96dff715d3b4079a34a2c91c20725946 to your computer and use it in GitHub Desktop.
<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>
var number = 5;
var text = '5';
console.log(number);
console.log(text);
console.log(number == text);
console.log(number === text);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment