[
https://issues.apache.org/jira/browse/CB-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Brooks closed CB-591.
-----------------------------
> Initializing an array incorrect/misleading in ContactField examples
> -------------------------------------------------------------------
>
> Key: CB-591
> URL: https://issues.apache.org/jira/browse/CB-591
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs
> Affects Versions: Master
> Reporter: Shazron Abdullah
> Assignee: Michael Brooks
> Priority: Minor
> Fix For: 0.9.5, 0.9.6, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0,
> 1.6.0, 1.6.1, 1.7.0, Master
>
>
> In:
> https://github.com/apache/incubator-cordova-docs/blob/master/docs/en/edge/cordova/contacts/ContactField/contactfield.md
> Expected:
> {code}
> var phoneNumbers = [];
> {code}
> Actual (this just inits an array with 3 in it as the 0th index):
> {code}
> var phoneNumbers = [3];
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira