Some languages allow for a syntax that allows for the last statement to be automatically be returned by the block.
{
System.print("one")
System.print("two")
System.print("three")
2 + 4
}
We can achieve this in JavaScript with the comma operator.
const doSomethings = () => (
console.log(location.href),
global.variable += 4,
12 / 2
);
And just like that, the two code blocks from above would return the same thing!