What about `value = (typeof value === 'undefined') ? true : value;`?
Here hides a bug if you change function parameters and forget to change `argument[2]` to `argument[?]`