Closed sixpounder closed 8 years ago
+1
It seems that rest
in 4.x has a different meaning than the rest
in 3.x, which was alias to tail
. So rest
shouldn't be called at all, using tail
is fine for 3.x and 4.x.
@rhys-vdw ping?
Don't believe this is valid any longer. Would recommend to close this PR since the code has changed to use _.tail
where relevant.
Would have been nice to have some kind of feedback on this. Closing it anyway.
Since .rest expects a function as input (formerly .restParam), I added an exception driven test to use _.tail instead.
package.json not updated, still using lodash 3. Travis build seems to be ok.