projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
dbd3c814b4650f222cc495e8b836764e15ae8cc7
[platform/framework/web/crosswalk-tizen.git]
/
1
'use strict';
2
3
var fn = function (x) { return x > 3; };
4
5
module.exports = function () {
6
var arr = [1, 2, 3, 4, 5, 6];
7
if (typeof arr.findIndex !== 'function') return false;
8
return arr.findIndex(fn) === 3;
9
};