title: How to access a function's data inside an array using Jquery
body: <p>Good day,
  I have a simple question (I hope).  How do I access the array of "LOCATION_LOOKUP_DATA" within the following code? </p>
  
  <pre><code>(Wonder.Way.Communities = function() {
      var CONSTANTS = {
          LOCATION_LOOKUP_DATA :["Yonkers (10710)","Yorktown Heights (10598)"]
          }
      }
  )
  </code></pre>
  
  <p>I am trying to replace the array of LOCATION_LOOKUP_DATA with new data so I need to access that array.  Here are some of the checks I've tried, and the results</p>
  
  <pre><code>     alert($(Wonder.Way.Communities).data()); -returns [object Object]
       alert(Wonder.Way.Communities[0]); - returns [undefined]
       alert($(Wonder.Way.Communities).CONSTANTS[0]; returns [Cannot read property '0' of undefined]
  </code></pre>