Skip to content

Instantly share code, notes, and snippets.

@bmeurer
Created March 14, 2017 08:44
Show Gist options
  • Save bmeurer/9e7ded58c6b5c5b629b03e57918f8ca7 to your computer and use it in GitHub Desktop.
Save bmeurer/9e7ded58c6b5c5b629b03e57918f8ca7 to your computer and use it in GitHub Desktop.
let a = {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