use createEmptyObject for maps
use strict eq
use friendlier var names (for @tobeytailor)