The following code appears to be legal (at least sketch.sh manages to produce the value 4).
let f = x => x + 1;
f(3,);
This “extra comma” is also sometimes inserted during reformatting of code, probably by merlin or something.
I’m wondering what’s going on here – can someone enlighten me?