Object Methods

The "log()" part of "console.log();" is a type of function called a "method", which means it's a function that belongs to an object. We'll talk about that later. For example, the "Hi!" in the code "console.log("Hi!");" is a value that could be represented by a variable.

Functions can sometimes be found within statements, such as in the case with methods. Methods are like object properties, but the value is a function instead of data.

Next