When you create a function in JavaScript, it automatically creates an empty container called prototype for you to stick your methods into.
When you create a function in JavaScript, it automatically creates an empty container called prototype for you to stick your methods into.