create empty object and push data inside it code example Example: how to initialize empty javascript object let obj = {};