Block

Println({
  val x = 1 + 1
  x + 1
}) // 3

You can combine expressions by surrounding them with {}.

Related concepts

Block

Block — Structure map

Clickable & Draggable!

Block — Related pages: