I always prefer
```js
function foo() {}
```
to
```js
var foo = function() {};
```
as the former gives better debugging information.