Merge pull request #471 from skube/patch-1

Use more common word 'convention' over 'agreement'
This commit is contained in:
Ilya Kantor 2017-03-26 22:39:18 +03:00 committed by GitHub
commit cbfddcac43

View file

@ -8,7 +8,7 @@ That can be done using constructor functions and the `"new"` operator.
## Constructor function ## Constructor function
Constructor functions technically are regular functions. There are two agreements though: Constructor functions technically are regular functions. There are two conventions though:
1. They are named with capital letter first. 1. They are named with capital letter first.
2. They should be executed only with `"new"` operator. 2. They should be executed only with `"new"` operator.