remove html object javascript code example Example: javascript remove object element delete object.element;