You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution I came up with was to get the function signature by calling .toString() on the Lodash function itself. Then, using regex, I got the list of arguments and subtracted one, since they always require at least one arg (the list). If the remaining count is 0, then the function takes no arguments we also take only one from the pathSegments array.
Can we try to get this: http://lodash.do/values/shuffle/take/10/vehicles.do/random-vins.json
to work this does: http://lodash.do/values/_/shuffle/_/take/10/vehicles.do/random-vins.json
It messes up the current logic that's used, but the first syntax is much more elegant
The text was updated successfully, but these errors were encountered: