Open brsanthu opened 1 week ago
@justinfagnani Looks like it is due to I missing the parenthesis. This expression [20, 30, 40, 50].filter((val) => val < 40).join(',')
works. Can we make the parenthesis optional for single argument arrow function?
@justinfagnani
Trying to parse expression
[20, 30, 40, 50].filter(val => val < 40).join(',')
but running into below error. Is this even possible with this library? If possible, is it a bug or any configuration I need to do? If not possible, what would it take to provide this capability?Error