Skip to content

Instantly share code, notes, and snippets.

@Olegas
Created June 7, 2019 07:48
Show Gist options
  • Save Olegas/58a7fd307408676453a8b573d395a747 to your computer and use it in GitHub Desktop.
Save Olegas/58a7fd307408676453a8b573d395a747 to your computer and use it in GitHub Desktop.
const o = {
foo: function() { return this.bar },
bar: 10
};
const f = o.foo;
console.log(f()); // ??
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment