I've been using babel on a few projects, and on my last project I got myself with this question;
I have a scan function where I want to set 2 default values
export default function scan({
tmpFolder = "./tmp",
verbose = false
}){
// function body
}