commit
fff1f64b93
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ user = {
|
||||||
|
|
||||||
As demonstrated, we can omit `"function"` and just write `sayHi()`.
|
As demonstrated, we can omit `"function"` and just write `sayHi()`.
|
||||||
|
|
||||||
To tell the truth, the notations are not fully identical. There are subtle differences related to object inheritance (to be covered later), but for now they do not matter. In almost all cases the shorter syntax is preferred.
|
To tell the truth, the notations are not fully identical. There are subtle differences related to object inheritance (to be covered later), but for now they do not matter. In almost all cases, the shorter syntax is preferred.
|
||||||
|
|
||||||
## "this" in methods
|
## "this" in methods
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue