Not only can you provide default values when using ES6 parameter object destructuring, but you can also require the presence of certain properties
I think you should provide this article http://www.2ality.com/2016/05/six-nifty-es6-tricks.html (Probably this is source where you got this approach)
dude. that was smooth. i like this trick.
Awesome! Very clever.