Replace args() with Function.length

I replaced the custom `args` function with `Function.length` (which returns the number of parameters the function is supposed to accept). I also removed tests for `args()`.