kirillrakhman
01/09/2017, 3:00 PMfilter({})
, filter() {}
and filter {}
are the same thing. the last version is the preferred one. this also works if you have multiple lambda arguments, but only for the last one. so you can only do foo({}) {}
but not foo {} {}