It should be fine since the function gets called after `func` has been defined.
For example:
```js
var foo = function() {
  console.log(foo.toString());
};
foo();
// function() { console.log(foo.toString()); }
```