Boolean fields in a map?

Boolean fields in a map?

Is there a way to have a boolean field in a map?

if you use this code
mymap = map();
mymap.put("aaa",true);
mymap.put("bbb",false);

then 
alert mymap.get("aaa");
shows 'null'

is there a way to make the value for aaa behave like a boolean instead?