This...
var foo = _.last(myArray);
...does the same thing as this...
var foo = myArray[myArray.length - 1];
No comments:
Post a Comment