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