Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #331 Clear map

Remove all entries from the map m.

Explain if other references to the same map now see an empty map as well.

m.clear()
m.clear()
clear(m)
m.clear();
%m = ();
m.clear()
m.clear

New implementation...
< >
programming-idioms.org