Have you ever thought if you can put a function inside an object? Let's find out the answer to this question in the next video.
So you just learn one very important distinction between function and method. A method is a function that’s assigned to a key in an object.