title: How to change value of object which is inside an array using JavaScript or jQuery?
body: <p>The code below comes from jQuery UI Autocomplete:</p>
  
  <pre class="lang-js prettyprint-override"><code>var projects = [
      {
          value: "jquery",
          label: "jQuery",
          desc: "the write less, do more, JavaScript library",
          icon: "jquery_32x32.png"
      },
      {
          value: "jquery-ui",
          label: "jQuery UI",
          desc: "the official user interface library for jQuery",
          icon: "jqueryui_32x32.png"
      },
      {
          value: "sizzlejs",
          label: "Sizzle JS",
          desc: "a pure-JavaScript CSS selector engine",
          icon: "sizzlejs_32x32.png"
      }
  ];
  </code></pre>
  
  <p>For example, I want to change the <strong>desc value of jquery-ui</strong>. How can I do that?</p>
  
  <p>Additionally, is there a faster way to get the data? I mean give the object a name to fetch its data, just like the object inside an array? So it would be something like <code>jquery-ui.jquery-ui.desc = ....</code></p>