title: What is this JavaScript construct: " = [y for each ...]"
body: <pre><code>myColl.y = [y for each (y in myColl.y) if (y != myThing.getY())];
  </code></pre>
  
  <p>I understand what this is doing, returning all the 'y' items that are not the current one...</p>
  
  <p>But, what is the concept called here with the brackets?
  I would like to read up on what this is , syntax, etc.</p>