apache/cordova-js — pull request #62 by vote539 (2014-01-04 10:27:03+00:00)
Title: Update exec.js

The spec implies that the last argument of cordova.exec() should be optional. However, if it is omitted, iOS emits a cryptic NSInvalidArgumentException. This can be avoided if actionArgs defaults to an empty array.