Skip to content

Commit 8e18a1a

Browse files
committed
updates to readme
1 parent 12f6c43 commit 8e18a1a

File tree

3 files changed

+5
-42
lines changed

3 files changed

+5
-42
lines changed

README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ The [arrays.js](assignments/arrays.js) assignment takes us through a large data
2323
* You can't use map, reduce, or filter to solve these problems. Only use native JavaScript for loops.
2424
* Complete each challenge presented before moving on to Callbacks.
2525

26-
### Callbacks
27-
28-
* In the [callbacks.js](assignments/callbacks.js) file you'll be receiving a lot of practice on how to use callbacks to pass around data.
29-
* Write out each function using the `ES5` `function` keyword syntax.
30-
* Remember that a callback function is simply a function that is being passed around to other functions.
31-
* **Stretch Problem** After you're done with all of the functions, go ahead and re-factor all of them to use `ES6` `Arrow Functions`
26+
### Stretch
27+
* Move on to tomorrow's content and start studying callbacks, write a few of your own to get the hang of it.
28+
* Look at array methods like .map(), .reduce(), .filter(). use them on the data in the arrays assignment to accomplish the same things you did with the ES5 for loop.

assignments/callbacks.js

-34
This file was deleted.

assignments/objects.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// 5,adaine5@samsung.com,Antonietta,F
1111

1212
// Example format of an intern object: 1,examples@you.edu,Example,F
13-
let example = {
13+
const example = {
1414
"id": 0,
1515
"name": "Example",
1616
"email": "examples@you.edu",
@@ -49,7 +49,7 @@ let example = {
4949
// 3. Nest a grandchild object in the child object with properties for name and age. The name will be Sam and the age will be 30
5050
// 4. Give each of the objects the ability to speak their names using the this keyword.
5151

52-
let parent = {}
52+
const parent = {}
5353

5454
// Log the parent object's name
5555

0 commit comments

Comments
 (0)