Skip to content

Commit e1e2558

Browse files
j0lolbiggianteye
andauthored
Apply suggestions from code review
Co-authored-by: Burhan Ali <1482649+biggianteye@users.noreply.github.com>
1 parent f6ea6dc commit e1e2558

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/lesson1/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ A line starting with `let` is a **variable definition**. You should
164164
use this whenever you are creating a new variable.
165165

166166
> In previous versions of JavaScript, `var` was used for all
167-
**variable defintions**, but `let` is now considered better to use.
167+
**variable definitions**, but `let` is now considered better to use.
168168
[You can read more about why on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#description).
169169

170170
You can also change the value of a variable. That's why it's a

js/lesson9/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This means that we have loaded our very first object into our REPL! Without exit
9999
const cat = new Cat ();
100100
```
101101

102-
(It doesn't really matter what you call the variable. Variable names are arbitrary in all programming languages, so we could say ```const ginger = new Cat ();``` or ```var luciferTheEvilCat = new Cat ();```. However, it is good practice to pick variable names that are clear and intuitive.)
102+
(It doesn't really matter what you call the variable. Variable names are arbitrary in all programming languages, so we could say
103103

104104
This creates a new Cat object. Think about the Cat function as a blueprint for how every new Cat object ought to be made. However, a blueprint of a cat is not a cat! Using JavaScript, we created an "instance" of a cat based on the blueprint.
105105

0 commit comments

Comments
 (0)