Learn JavaScript
this on Objects
42.2 - Ex 1
Exercise

Exercise Shorthand for method

Declare a function inside the bird object and assign it directly to the canFly property.

Use console.log inside the function to display the message Yes I can fly.