added whole system from ola4doc
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
var fn = function (x) { return x > 3; };
|
||||
|
||||
module.exports = function () {
|
||||
var arr = [1, 2, 3, 4, 5, 6];
|
||||
if (typeof arr.find !== 'function') return false;
|
||||
return arr.find(fn) === 4;
|
||||
};
|
||||
Reference in New Issue
Block a user