fixes
This commit is contained in:
parent
c9401b3104
commit
0fcf9f84fa
58 changed files with 673 additions and 643 deletions
|
@ -14,8 +14,8 @@ Second, the name of the current visitor:
|
|||
let currentUserName = "John";
|
||||
```
|
||||
|
||||
Again, we could shorten that to `userName` if we know beyound the reasonable doubt that the user is current.
|
||||
Again, we could shorten that to `userName` if we know for sure that the user is current.
|
||||
|
||||
Modern editors and autocomplete make long variable names easy to write. Don't save on them. Say, a name with 3 words in it is fine.
|
||||
Modern editors and autocomplete make long variable names easy to write. Don't save on them. A name with 3 words in it is fine.
|
||||
|
||||
And if your editor does not have proper autocompletion, get [a new one](/editor).
|
||||
And if your editor does not have proper autocompletion, get [a new one](/editors).
|
||||
|
|
|
@ -4,5 +4,5 @@ importance: 3
|
|||
|
||||
# Giving the right name
|
||||
|
||||
1. Create the variable to store the name of our planet. Assign the value `"Earth"` to it. What should be its name?
|
||||
2. Create the variable to store the name of the current visitor. What about its name?
|
||||
1. Create the variable with the name of our planet. How would you name such a variable?
|
||||
2. Create the variable to store the name of the current visitor. How would you name that variable?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue