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 42a4388
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: assignments/prototypes.js
+57Lines changed: 57 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,3 +121,60 @@ const archer = new Humanoid({
121
121
// * Create Villain and Hero constructor functions that inherit from the Humanoid constructor function.
122
122
// * Give the Hero and Villains 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;
123
123
// * Create two new objects, one a villain and one a hero and fight it out with methods!
0 commit comments