can you set an empty object code example Example 1: how to initialize empty javascript object let obj = {}; Example 2: javascript create object empty var empty_obj = {};