Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 622e75b

Browse files
authored
Update REVIEW.md
notes on Friday class.
1 parent 21ac980 commit 622e75b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Week1/REVIEW.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ baz.length; //-> 11
163163
164164
## Numbers
165165

166-
All numbers in JavaScript are considered numbers with or without decimal
166+
All numbers in JavaScript are considered numbers with or without decimal -- briefly mentioned
167167

168168
```js
169169
let quux = 42;
@@ -175,7 +175,7 @@ typeof quuux //-> 'number'
175175
```
176176

177177

178-
## Arrays
178+
## Arrays -- covered a substantial portion of this
179179

180180
Variables that are arrays contain a list of things, instead of just one thing. What's inside the array, we typically call "elements". So, the array `[1, 2, 3]` has three elements. The array `[]` has no elements and is therefore empty. The number of elements in an array is called its "length".
181181

@@ -192,13 +192,15 @@ The number `0` is the "index of the first element of array `arr`". Conversely, t
192192

193193
Instead of a number, you can also use a variable to access elements in an array, *as long as this variable is a number*:
194194

195+
-- did not cover this
196+
195197
```js
196198
let arr = ['john', 'jane', 'jack'];
197199
let a = 1;
198200
console.log(arr[a]); // -> jane
199201
```
200202

201-
If the index you use is not an integer (a whole number), or if it's less than `0` or if it's greater than or equal to the array's length, you will get back `undefined`.
203+
If the index you use is not an integer (a whole number), or if it's less than `0` or if it's greater than or equal to the array's length, you will get back `undefined`. -- did not cover this
202204

203205
More about [arrays](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
204206

@@ -209,8 +211,8 @@ A single equals sign (=) is used to assign a value to a variable.
209211
A triple equals sign (===) is used to compare two values (see Equality Operators).
210212

211213
#### Equality operators
212-
* Equality `==`
213-
* Inequality `!=`
214+
* Equality `==` -- covered this
215+
* Inequality `!=` -- mentioned this once
214216
* Identity / strict equality `===`
215217
* Non-identity / strict inequality `!==`
216218

@@ -286,4 +288,5 @@ x += 1;
286288
x = x + 1;
287289
```
288290

291+
covered idea of what a variable is -- it represents a number, or String, or something... I didn't use the word 'represents,' and I did not say 'in place of...'
289292

0 commit comments

Comments
 (0)