en.javascript.info/1-js/3-object-basics/3-object-methods/2-check-syntax/task.md
Ilya Kantor 057783d216 work
2016-07-21 17:05:55 +03:00

201 B

importance: 2


Syntax check

What is the resule of this code?

let user = {
  name: "John",
  go: function() { alert(this.name) }
}

(user.go)()

P.S. There's a pitfall :)