-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
First off, I would like to say great work on this library, the documentation is fantastic and it makes dealing with complex objects easy.
My issue resolves around the order in which the branches are visited.
for example:
L.branches(1,2,3) produces an object with the following keys. [1,2,3].
L.branches(3,2,1) produces an object with the following keys. [1,2,3]
I would expect L.branches(3,2,1) to visit the keys in the order in which they were provided as arguments, as opposed to the object key order.
I would propose using a Map to preserve the order of the arguments.
Reactions are currently unavailable