getDefault( map )

Returns the default value for the specified map.

The default value is returned when a map is indexed by a key which is not present in the map.

The default default value is absent. The default value for a given map can be changed by using the setDefault or modDefault functions.

:-) var map = newMap(
:-)   "akey" ==> "avalue"
:-) );
There are 0 results
:-) map.getDefault();
There is 1 result
<absent>
:-)
:-) map[ "akey" ];
There is 1 result
"avalue"
:-) map[ "differentkey" ];
There is 1 result
<absent>