We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04813da commit 71a178dCopy full SHA for 71a178d
lib/store.js
@@ -11,6 +11,16 @@ var defaultStoreOptions = {
11
clean: true
12
}
13
14
+/**
15
+ * es6-map can preserve insertion order even if ES version is older.
16
+ *
17
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Description
18
+ * It should be noted that a Map which is a map of an object, especially
19
+ * a dictionary of dictionaries, will only map to the object's insertion
20
+ * order. In ES2015 this is ordered for objects but for older versions of
21
+ * ES, this may be random and not ordered.
22
23
+ */
24
var Map = require('es6-map')
25
26
/**
0 commit comments