Skip to content

Instantly share code, notes, and snippets.

@ylv-io
Created February 7, 2019 19:34
Show Gist options
  • Save ylv-io/c8d35452d5db698668240fa05e4ebdd0 to your computer and use it in GitHub Desktop.
Save ylv-io/c8d35452d5db698668240fa05e4ebdd0 to your computer and use it in GitHub Desktop.
const a = {},
b = {c:'b'},
c = {b:'c'};
a[b] = 111;
a[c] = 333;
console.log(a[b]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment