Return values

All functions return a value. If no return value is specified, thestatement return null; is implicitly appended to the function body.

  1. foo() {}
  2. assert(foo() == null);