added other ways to declare JavaScript functions