Merge pull request #35 from menou2u/patch-2

Correction (one word was missing)
This commit is contained in:
Ilya Kantor 2017-06-12 15:33:59 +03:00 committed by GitHub
commit 856396c4cb

View file

@ -143,7 +143,7 @@ user.name = "Alice"; // Error
## Non-enumerable
Now let's a custom `toString` to `user`.
Now let's add a custom `toString` to `user`.
Normally, a built-in `toString` for objects is non-enumerable, it does not show up in `for..in`. But if we add `toString` of our own, then by default it shows up in `for..in`.