So if you need a hash map in JavaScript, simply take an object. ... You can get rid of the prototype by declaring the prototype of the map ...
確定! 回上一頁