Single line if statement with CoffeeScript

In CoffeeScript you can write if-statements with a single line of code. As so often, there are several ways in CoffeeScript to do it. Let me give you some examples:

Source

if hello
  console.log 'Hello World!'

Option 1

if hello then console.log 'Hello World!'

Option 2

console.log 'Hello World!' if hello

And of course:

console.log('Hello World!') if hello
if hello then console.log('Hello World!')