Skip to content

Instantly share code, notes, and snippets.

@zacharytamas
Created January 3, 2014 22:13
Show Gist options
  • Save zacharytamas/8247669 to your computer and use it in GitHub Desktop.
Save zacharytamas/8247669 to your computer and use it in GitHub Desktop.
var a = new String('aaa');
var b = new String('aaa');
console.log(a == b); // false
var a = 'aaa';
var b = 'aaa';
console.log(a == b); // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment