chiquitinxx / grooscript

Converts your Groovy code to Javascript
https://www.grooscript.org
Other
221 stars 18 forks source link

groupBy on collection #20

Closed yellowsnow closed 9 years ago

yellowsnow commented 9 years ago

Hello,

The following expression didn't work on the online converter :

[1,23,10].groupBy{(it % 2)==0}

Is it implemented or not yet?

Thanks

chiquitinxx commented 9 years ago

Take a look at the commit, now is implemented. Open more issues if you miss more functions.

yellowsnow commented 9 years ago

Thanks a lot!!