nit: Object.create(null) will give you a "map" without Object in prototype chain, so you can be sure to not have "alarm in alarms" test fail if that name happens to be added to Object prototype.