initialize empty object js es6 code example Example: how to initialize empty javascript object let obj = {};