What follows is a pretty shameless abuse of one of my favorite ES6 features, default parameters. They're a simple idea that other languages have enjoyed for decades, and I am all too happy to see JavaScript join the party.
const logValue = (object = {}) => {
console.log(object);
};
logValue(); // logs: {}