Skip to content

Commit d48a3d6

Browse files
committed
objects.js
1 parent c918548 commit d48a3d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assignments/arrays.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ for (var i = 0; i<inventory.length; i++){
115115
BMWAndAudi.push(inventory[i]);
116116
}
117117
}
118-
var myJSON = JSON.stringify(BMWAndAudi)
118+
var myJSON = JSON.stringify(BMWAndAudi);
119119
console.log(myJSON);
120120

121121

assignments/objects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ console.log(fifthIntern.gender);
6868
// Give Kennan the ability to say "Hello, my name is Kennan!" Use the console.log provided as a hint.
6969
// console.log(kennan.speak());
7070
firstIntern.speak = function(){
71-
console.log('Hello');
71+
return "Hello, my name is Kennan!";
7272
}
73-
firstIntern.speak();
73+
console.log(firstIntern.speak());
7474
// Antonietta loves math, give her the ability to multiply two numbers together and return the product. Use the console.log provided as a hint.
7575
//console.log(antonietta.multiplyNums(3,4));
7676
fifthIntern.mult = function(a,b) {

0 commit comments

Comments
 (0)