Merge pull request #472 from benhjames/gender-neutral-pronouns

Use gender neutral pronouns
This commit is contained in:
Ilya Kantor 2018-08-04 15:40:36 +03:00 committed by GitHub
commit 99d9c3ea6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 37 additions and 37 deletions

View file

@ -247,7 +247,7 @@ const myBirthday = '18.04.1982';
myBirthday = '01.01.2001'; // error, can't reassign the constant!
```
When a programmer is sure that the variable should never change, he can use `const` to guarantee it, and also to clearly show that fact to everyone.
When a programmer is sure that the variable should never change, they can use `const` to guarantee it, and also to clearly show that fact to everyone.
### Uppercase constants

View file

@ -4,7 +4,7 @@ importance: 5
# Repeat until the input is correct
Write a loop which prompts for a number greater than `100`. If the visitor enters another number -- ask him to input again.
Write a loop which prompts for a number greater than `100`. If the visitor enters another number -- ask them to input again.
The loop must ask for a number until either the visitor enters a number greater than `100` or cancels the input/enters an empty line.

View file

@ -103,7 +103,7 @@ More in: <info:variables> and <info:types>.
We're using a browser as a working environment, so basic UI functions will be:
[`prompt(question[, default])`](mdn:api/Window/prompt)
: Ask a `question`, and return either what the visitor entered or `null` if he pressed "cancel".
: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel".
[`confirm(question)`](mdn:api/Window/confirm)
: Ask a `question` and suggest to choose between Ok and Cancel. The choice is returned as `true/false`.
@ -111,7 +111,7 @@ We're using a browser as a working environment, so basic UI functions will be:
[`alert(message)`](mdn:api/Window/alert)
: Output a `message`.
All these functions are *modal*, they pause the code execution and prevent the visitor from interacting with the page until he answers.
All these functions are *modal*, they pause the code execution and prevent the visitor from interacting with the page until they answer.
For instance: