]> git.r.bdr.sh - rbdr/dotfiles/blob
cc7ec774df0fa4ed6f8290c1f0918ab860ce0ac7
[rbdr/dotfiles] /
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.find !== 'function') return false;
8 return arr.find(fn) === 4;
9 };