Homepage
Sign in / Sign up
Go to the profile of Guan-Ting Jiang
Guan-Ting Jiang
Aug 11, 2016

Sequential Data Structure in Javascript ( Array, Set, WeakSet, Map, WeakMap)

Set, Map, WeakMap, WeakSet implementation:

Dkra/coding-field
coding-field — become a better javascript developergithub.com

Reference from Mdn:

Array
The JavaScript Array object is a global object that is used in the construction of arrays; which are high-level, list…developer.mozilla.org
Set
The Set object lets you store unique values of any type, whether primitive values or object references.developer.mozilla.org
WeakSet
The WeakSet object lets you store weakly held objects in a collection.developer.mozilla.org
Map
The Map object is a simple key/value map. Any value (both objects and primitive values) may be used as either a key or…developer.mozilla.org
WeakMap
The WeakMap object is a collection of key/value pairs in which the keys are weakly referenced. The keys must be objects…developer.mozilla.org
JavaScriptData Structures
  • Go to the profile of Guan-Ting Jiang

    Guan-Ting Jiang

    • Share
    Go to the profile of Guan-Ting Jiang
    Never miss a story from Guan-Ting Jiang, when you sign up for Medium. Learn more
    Never miss a story from Guan-Ting Jiang