You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/30 08:01:23 UTC
[GitHub] [cordova-js] raphinesse edited a comment on issue #198: Document
argscheck
raphinesse edited a comment on issue #198: Document argscheck
URL: https://github.com/apache/cordova-js/pull/198#issuecomment-487853763
TODO:
- Add the fact that `args` can also be an `arguments` object
- If `opt_callee` is missing, `args.callee` will be used
- Add example
Example:
```js
function foo (arr, str, opts) {
checkArgs('asO', 'my.package.foo', arguments);
// ...
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org