WebStorm should issue a warning / error about a potential bug when defining a map with a duplicate key within the map's constructor — WebStorm feature request — Has it shipped?