-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
import OrderedMap from 'orderedmap';
function run() {
let om = OrderedMap.from({});
om = om.addToStart('a', 'aa');
om = om.addToEnd('d', 'dd');
om = om.addBefore('c', 'b', 'bb');
om = om.addBefore('d', 'c', 'cc');
om.forEach((k, v) => console.log(k, v));
}
expect
a aa
b bb
c cc
d dd
actual
a aa
c cc
d dd
b bb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels