ES6: Configure default parameters for your functions
ECMAScript-6 came with the default option to configure default parameters
Consider the following block of code:
const schedule = (status = "Busy") => "Current status: " + status;
// firstOutput
console.log(schedule("Available"));
// what will firstO...
mdi.hashnode.dev2 min read