WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead. See sjs-4: reverse.

Collection.prototype.reverse()

Return a new collection of files in reverse order.

Syntax

collection.reverse() Collection

Examples

Basic example.

Reversing empty collection is ok.

Subscribe to our newsletter!