Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion chapters/the-ember-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ user.get('firstName') == 'Sam' //=> true
user.get('lastName') == 'Smith' //=> true
```

\\Consideration\\
It might be worthwhile to explain the use of 'set' to write object property values, AND, explain why use of 'get' and 'set'
is crucial, as opposed to POJO dot-notation to access object properties.

Inquire about the object with `.toString()`. In this case we see that it's just Ember.Object.

```coffee
Expand Down Expand Up @@ -277,7 +281,7 @@ Extending objects is a pattern you will use all the time while developing in Emb

## Init

All ember objects call an `init` function when they are first initialized. You can use this to do setup work.
All Ember objects call an `init` function when they are first initialized. You can use this to do setup work.

```coffee
App.Human = Ember.Object.extend
Expand Down