[PATCH v2 2/4] jscript: Return proper error when passing wrong type to Function.apply.