We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ba175b commit 7821cabCopy full SHA for 7821cab
1 file changed
Codecademy/thisKeyword.js
@@ -0,0 +1,8 @@
1
+const robot = {
2
+ model: '1E78V2',
3
+ energyLevel: 100,
4
+ provideInfo: function() {
5
+ return (`I am ${this.model} and my current energy level is ${this.energyLevel}.`)
6
+ }
7
+};
8
+console.log(robot.provideInfo());
0 commit comments