title: Angular: declare a const with several time the same field
body: <p>I would like to declare a const using several times the same fields.</p>
  
  <pre class="lang-js prettyprint-override"><code>const myexample = {
      value: 8,
      name: name1,
      name: name2,
      name: name3    
  };
  </code></pre>
  
  <p>I dont't know how many names I'll get and I don't want to declare it as an array.</p>
  
  <p>How can I do that?</p>