Creates a slice of array with elements taken from the end.Elements are taken until predicate returns falsy.
array
predicate