Github user clelland commented on the pull request:
https://github.com/apache/cordova-plugin-camera/pull/21#issuecomment-39111334
Square brackets are a pretty common notation for optional arguments -- I
haven't checked to see whether we're using them that way consistently across
plugins, but I'm pretty sure that's why they're there in the function signature
in this case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---