```
magnitudeArray = []
for index, dataPoint of chartData
     magnitudeArray.push dataPoint.magnitude if dataPoint.magnitude?

```

The above code works, but for coffeescript its ugly and un-coffeescripty. First of all, the `index` var is completely un-used, its just there so I can access the `dataPoint` var as the result fo the associative array and not the index. Also its three lines! With coffeescript loops arrays are supposed to be writable with one line, off of a loop.

I imagine something like this is possible:

```
magnitudeArray = for dataPoint of chartData when dataPoint.magnitude?

```

Do you know of the cleaner coffeescriptier way of doing this?