Merge pull request #844 from aiyayayaya/patch-2

Typo correction
This commit is contained in:
Ilya Kantor 2019-03-20 16:08:46 +03:00 committed by GitHub
commit 1985d1cf19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ So far, we've seen how to import/export multiple things, optionally "as" other n
In practice, modules contain either:
- A library, pack of functions, like `lib.js`.
- Or an entity, like `class User` is descirbed in `user.js`, the whole module has only this class.
- Or an entity, like `class User` is described in `user.js`, the whole module has only this class.
Mostly, the second approach is preferred, so that every "thing" resides in its own module.