DEV Community

Discussion on: Have blocks return the last statement with the Comma Operator

Collapse
 
moopet profile image
Ben Sinclair

I agree. It's interesting that you can do it, but I prefer to be a little more explicit.

Collapse
 
shahriarsiraj profile image
Shahriar Siraj Snigdho

Since I came from c# background, so returning with comma operator hurts my eyes. No offense, btw!