js delete field from reference to object without deleting object field code example Example: how to remove key value pair from object in javascript delete object.keyname;