how to empty an object javascript code example Example: javascript create object empty var empty_obj = {};