Closed alexkravets closed 11 years ago
_()
creates a lodash object and enables methods chaining. This will also give you some Array methods, including reverse()
. See http://lodash.com/docs#_
To simply reverse the array you don't need a lodash object, just use
[1,2,3].reverse()
sweet, thanks!
http://cl.ly/image/2R1A2l0F0I2i Returned object should be an array, or am I missing something?