Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-591

Initializing an array incorrect/misleading in ContactField examples

    XMLWordPrintableJSON

Details

    Description

      In: https://github.com/apache/incubator-cordova-docs/blob/master/docs/en/edge/cordova/contacts/ContactField/contactfield.md

      Expected:

      var phoneNumbers = [];
      

      Actual (this just inits an array with 3 in it as the 0th index):

      var phoneNumbers = [3];
      

      Attachments

        Activity

          People

            mwbrooks Michael William Brooks
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: