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
Copy file name to clipboardExpand all lines: assignments/prototypes.js
+89-1Lines changed: 89 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -140,4 +140,92 @@ Humanoid.prototype.greet = function (){
140
140
// Stretch task:
141
141
// * Create Villian and Hero constructor functions that inherit from the Humanoid constructor function.
142
142
// * Give the Hero and Villians different methods that could be used to remove health points from objects which could result in destruction if health gets to 0 or drops below 0;
143
-
// * Create two new objects, one a villian and one a hero and fight it out with methods!
143
+
// * Create two new objects, one a villian and one a hero and fight it out with methods!
0 commit comments