Skip to content

Commit 994ec36

Browse files
committed
typo
1 parent d948c74 commit 994ec36

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎assignments/prototypes.js‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@
2626
2727
HOW TO TEST OUR SOLUTION:
2828
29-
const myPlane = new Airplane('Jumbo');
30-
console.log(myPlane.name) // 'Jumbo'
31-
console.log(myPlane.isFlying) // false
32-
myPlane.takeOff();
33-
console.log(myPlane.isFlying) // true
34-
myPlane.land();
35-
console.log(myPlane.isFlying) // false
29+
const jumbo = new Airplane('Jumbo');
30+
console.log(jumbo.name) // 'Jumbo'
31+
console.log(jumbo.isFlying) // false
32+
jumbo.takeOff();
33+
console.log(jumbo.isFlying) // true
34+
jumbo.land();
35+
console.log(jumbo.isFlying) // false
3636
*/
3737

3838
/*
3939
4040
EXERCISE 1
4141
4242
- Build a Person Constructor that takes name and age.
43-
- Give persons the ability to greet, returning a string stating name and age.
43+
- Give persons the ability to greet by returning a string stating name and age.
4444
- Give persons the ability to eat edibles.
4545
- When eating an edible, it should be pushed into a "stomach" property which is an array.
4646
- Give persons the ability to poop.
@@ -66,7 +66,7 @@
6666
EXERCISE 4
6767
6868
Use your imagination and come with constructors that allow to build objects
69-
With amazing and original capabities. Build 3 small ones, or a very
69+
With amazing and original capabilities. Build 3 small ones, or a very
7070
complicated one with lots of state. Surprise us!
7171
7272
*/

0 commit comments

Comments
 (0)