Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const o = {
- foo: function() { return this.bar },
- bar: 10
- };
- const f = o.foo;
- console.log(f()); // ??
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement