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
// Once your objects are created, log out the following requests from HR into the console:
59
67
60
68
// Mitzi's name
61
-
69
+
console.log(employeeZero.name);
62
70
// Kennan's ID
63
-
71
+
console.log(employeeOne.id);
64
72
// Keven's email
65
-
73
+
console.log(employeeTwo.email);
66
74
// Gannie's name
67
-
75
+
console.log(employeeThree.name);
68
76
// Antonietta's Gender
69
-
77
+
console.log(employeeFour.gender);
70
78
// ==== Challenge 3: Object Methods ====
71
79
// Give Kennan the ability to say "Hello, my name is Kennan!" Use the console.log provided as a hint.
72
80
// console.log(kennan.speak());
73
-
81
+
console.log(employeeOne.speak());
74
82
// Antonietta loves math, give her the ability to multiply two numbers together and return the product. Use the console.log provided as a hint.
75
83
//console.log(antonietta.multiplyNums(3,4));
76
-
84
+
console.log(employeeFour.multiply(3,4));
77
85
// === 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.
78
86
79
87
// ==== Stretch Challenge: Nested Objects and the this keyword ====
0 commit comments