b4a73131a9b3dd077955f408bb3dffff523d9d0f
[platform/framework/web/crosswalk-tizen.git] /
1 var findIndex = require('./findIndex');
2
3     /**
4      * Returns first item that matches criteria
5      */
6     function find(arr, iterator, thisObj){
7         var idx = findIndex(arr, iterator, thisObj);
8         return idx >= 0? arr[idx] : void(0);
9     }
10
11     module.exports = find;
12
13