projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9308fa674e06494e2f38cf66d8cfdc28f4c21fdb
[platform/framework/web/crosswalk-tizen.git]
/
1
define(['./findLastIndex'], function (findLastIndex) {
2
3
/**
4
* Returns last item that matches criteria
5
*/
6
function findLast(arr, iterator, thisObj){
7
var idx = findLastIndex(arr, iterator, thisObj);
8
return idx >= 0? arr[idx] : void(0);
9
}
10
11
return findLast;
12
13
});