Skip to content

Commit

Permalink
Update functions-vs.methods.md
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyclarke authored Jul 2, 2019
1 parent 09658e6 commit a7117df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions-vs.methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ console.log(hello.constructor.prototype === Function.constructor.prototype) // s
### So you're telling me...
So, what this means is that `hello` derives/inherits from a base type object... and is, therefore, both a **"function"** and a **"method"**. That said, there's a ton more you could/should learn about [hoisting](https://developer.mozilla.org/en-US/docs/Glossary/Hoisting), [context/closures](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this) & [inheritance](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Inheritance).
So, what this means is that `hello` derives/inherits from a base type object... and is, therefore, both a **"function"** and a **"method"**. That said, there's a ton more you should read about [hoisting](https://developer.mozilla.org/en-US/docs/Glossary/Hoisting), [context/closures](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this) & [inheritance](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Inheritance).
### But ultimately, this means...
Expand Down

0 comments on commit a7117df

Please sign in to comment.