You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1900028
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: assignments/objects.js
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,18 @@
3
3
// ==== Challenge 1: Writing Objects ====
4
4
// HR needs some information on the new interns put into a database. Given an id, email, first name, and gender. Create an object for each person in the company list:
5
5
6
-
// 1,mmelloy0@psu.edu,Mitzi,F
7
-
// 2,kdiben1@tinypic.com,Kennan,M
8
-
// 3,kmummery2@wikimedia.org,Keven,M
9
-
// 4,gmartinson3@illinois.edu,Gannie,M
10
-
// 5,adaine5@samsung.com,Antonietta,F
6
+
// 1,mmelloy0@psu.edu,Mitzi,F
7
+
// 2,kdiben1@tinypic.com,Kennan,M
8
+
// 3,kmummery2@wikimedia.org,Keven,M
9
+
// 4,gmartinson3@illinois.edu,Gannie,M
10
+
// 5,adaine5@samsung.com,Antonietta,F
11
11
12
-
// Example format of an intern object: 1,examples@you.edu,Example,F
12
+
// Example format of an intern object: 1,examples@you.edu,Example,F
13
13
constexample={
14
-
"id": 0,
15
-
"name": "Example",
16
-
"email": "examples@you.edu",
17
-
"gender": "F"
14
+
id: 0,
15
+
name: "Example",
16
+
email: "examples@you.edu",
17
+
gender: "F",
18
18
}
19
19
20
20
// Write your intern objects here:
@@ -40,7 +40,7 @@ const example = {
40
40
// Antonietta loves math, give her the ability to multiply two numbers together and return the product. Use the console.log provided as a hint.
41
41
//console.log(antonietta.multiplyNums(3,4));
42
42
43
-
// === Great work! === Head over to the the arrays.js file or take a look at the stretch challenge
43
+
// === Great work! === Head over to the the arrays.js. You may come back and attempt the Stretch Challenge once you have completed the challenges in arrays.js and function-conversion.js.
44
44
45
45
// ==== Stretch Challenge: Nested Objects and the this keyword ====
0 commit comments