Skip to content

Instantly share code, notes, and snippets.

@bmeurer
Created March 14, 2017 08:51
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/267290be6c774fc6cf34bcb7ab7a455b to your computer and use it in GitHub Desktop.
Save bmeurer/267290be6c774fc6cf34bcb7ab7a455b to your computer and use it in GitHub Desktop.
let a = Object.assign({}, {x:1, y:2, z:3});
let b = Object.assign({}, a);
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