We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fa505c commit fcb656dCopy full SHA for fcb656d
2 files changed
src/prototype.js
@@ -49,6 +49,15 @@
49
hamsterHuey.destroy(); // returns 'Game object was removed from the game.'
50
*/
51
52
+function GameObject(options) {
53
+ this.createdAt = options.createdAt;
54
+ this.dimensions = options.dimensions;
55
+}
56
+
57
+GameObject.prototype.destroy = function () {
58
+ return 'Game object was removed from the game.';
59
60
61
/* eslint-disable no-undef */
62
63
module.exports = {
src/recursion.js
@@ -20,8 +20,6 @@ const nFactorial = (n) => {
20
const checkMatchingLeaves = (obj) => {
21
// return true if every property on `obj` is the same
22
// otherwise return false
23
-
24
25
};
26
27
0 commit comments