Removes all properties from a thing.
This function generates a change
thing.clear()
None
Returns nil
.
This code adds things to a set:
my_thing = {
a: 'Property A',
b: 'Property B',
c: 'Property C'
};
my_thing.clear();
my_thing; // the thing is empty
Return value in JSON format
{}