mrdoob/three.js — pull request #5738 by joshhartigan (2014-12-08 19:04:56+00:00)
Title: Shorten assignments of default values

this is a question as well as a pull request.
in this project, when a parameter isn't supplied and needs to fall back to the default value, this code is used:
```js
parameter = ( paramater !== undefined ) ? parameter : defaultValue;
```
but this could also be done as such:
```js
parameter = paramater || defaultValue;
```
(obviously the logical OR will be activated if the paramater is falsy)
why does this project use the first method?

I suspect there's something stupid I'm missing out on. In the small chance that I'm not missing out on anything, then I changed the code to use the second method - hence this is a pull request.