Passing Hashes (Objects) as Arguments to Functions
If you don’t know this already, JavaScript functions which accept a single object (hash) which contains each of the properties are far better than functions which accept a number of individual parameters. The reason is that using a hash no …