The of Expression

Syntax

  <expression> of <expression>

Description

The of expression allows you to reverse the normal order of property accessors for clearer code.

So this:

<button _="on click call window.location.reload()">
  Reload the Location
</button>

Can be rewritten like this:

<button _="on click reload() the location of the window">
  Reload the Location
</button>

Where we have converted window.location into the form the location of the window.