Skip to content

Instantly share code, notes, and snippets.

@bmeurer
Created March 14, 2017 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmeurer/5ce6a5cd8f5d7b8428d0f3846d97f8ca to your computer and use it in GitHub Desktop.
Save bmeurer/5ce6a5cd8f5d7b8428d0f3846d97f8ca to your computer and use it in GitHub Desktop.
let a = {x:1, y:2, z:3};
let b = {};
b.x = 1;
b.y = 2;
b.z = 3;
console.log("a is", a);
console.log("b is", b);
console.log("a and b have same map:", %HaveSameMap(a, b));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment