JavaScript comes with a lot of great functionality built in, but what if there is a function you need which is missing. How can we build them in seamlessly in an elegant way that extends the functionality of our beloved JavaScript. The following will outline a couple methods to extend the existing functionality of JavaScript, both effective but one a little more functionally complete. Say we want
![Websanova - Extending JavaScript - The Right Way](https://cdn-ak-scissors.b.st-hatena.com/image/square/ff87719443bc0d86156a6aaf80d89aef98d1a4bb/height=288;version=1;width=512/https%3A%2F%2Fwebsanova.com%2Fimg%2Flogo%2Flogo-dark-420x420.png)