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