reverse()

The reverse linq operator returns a new linq object that contains the same elements as the originating collection but in reverse order.
var arr = [1, 2, 3, 4, 5];

// col = [5, 4, 3, 2, 1]
var col = $linq(arr).reverse().toArray();

Last edited Sep 11, 2012 at 7:04 PM by battousai999, version 2