This is all made possible by extending the Array native, see?
this is the number or string, or whatever, when inside the method.
Return something that makes sense (usually this).
You can implement several methods all in the same code block.
This is just one more great tool to help keep your code organized and readable.