17. Extending Built-in Objects
In This Chapter
• Extend your objects’ functionality
• Learn more about the prototype chain
Let’s take a look at an example of when something like this might occur. Below is an example of how you can shuffle the contents of an array:
function shuffle(input) ...