reverse-object-order
v0.1.3
Published
A function to reverse order for object lists
Downloads
21
Readme
Javascript Object Reverse Order (npm)
Using:
import reverse from 'reverse-object-order';
var object = {"one": "a", "two": "b", "three": "c"};
var reversedObject = reverse(object);
console.log(reversedObject);
>>> {"three": "c", "two": "b", "one": "a"}