Javascript destructuring for named parameters
Here is one way, adapted from 11. Parameter handling :
function selectEntries({ start, end, step }) { console.log(end) }
can be called like this:
selectEntries({end:7}) >> 7
In node 5.7.0 use the flag:
--harmony_destructuring