Use Array.prototype.slice to process rest parameters
This is slightly less code, and seems to be the more commonly suggested technique. This is all ES3 stuff, so there shouldn't be any compatibility issue.
This is slightly less code, and seems to be the more commonly suggested technique. This is all ES3 stuff, so there shouldn't be any compatibility issue.