Getting error CreateListFromArrayLike called on non-object when trying to use .apply()
You need to send the params as an array, like this:
app[method.toLowerCase()].apply(this, [path, fn]);
If you want to send an arguments list you need to use call:
app[method.toLowerCase()].call(this, path, fn);
Source: call, apply