Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 299 Bytes

ex_151.md

File metadata and controls

14 lines (13 loc) · 299 Bytes

Exercise 151

  • Create a new index151.js
  • Define a groot object
  • Add 2 methods, greet and speak
  • Both methods will return the following phrase:
I'm Groot!!
  • Using console.log call both methods (one time each) and show the following output:
Greet: I'm Groot!!
Seack: I'm Groot!!