Skip to content

Instantly share code, notes, and snippets.

@hdemon
Created December 12, 2017 11:52
Show Gist options
  • Save hdemon/61e418fec636ee3c22a45b6f1da848c6 to your computer and use it in GitHub Desktop.
Save hdemon/61e418fec636ee3c22a45b6f1da848c6 to your computer and use it in GitHub Desktop.
var obj1 = {
x: 1,
};
var obj2 = {};
obj2.x = 1;
// d8 map.js --allow-natives-syntax
print(%HaveSameMap(obj1, obj2)); // false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment