Object Oriented Programming Javascript Mdn Map Prototype