en.javascript.info/1-js/04-object-basics/04-object-methods/2-check-syntax/task.md
Ilya Kantor 9ad9063d00 up
2016-11-28 21:35:42 +03:00

19 lines
No EOL
201 B
Markdown

importance: 2
---
# Syntax check
What is the resule of this code?
```js no-beautify
let user = {
name: "John",
go: function() { alert(this.name) }
}
(user.go)()
```
P.S. There's a pitfall :)