How to correctly specify default options in ES6
mixmax.com