7 kyu

Find the anonymous function

699 of 2,040matt c

Description:

Find the anonymous function in the array

Find the anonymous function in the given array and use the function to filter the array

Input

Your input. First Parameter will be an array with an anonymous function somewhere in the lot, The second Parameter will be an array which you will filter using the anonymous function you find.

Output

Your output. Output a filtered version of the second parameter using the function found in the first parameter.

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

Fundamentals

Stats:

CreatedJul 11, 2015
PublishedJul 11, 2015
Warriors Trained4205
Total Skips304
Total Code Submissions6020
Total Times Completed2040
JavaScript Completions1207
Python Completions699
Ruby Completions142
CoffeeScript Completions16
Haskell Completions59
Factor Completions9
Total Stars42
% of votes with a positive feedback rating91% of 315
Total "Very Satisfied" Votes264
Total "Somewhat Satisfied" Votes45
Total "Not Satisfied" Votes6
Ad
Contributors
  • matt c Avatar
  • JoshSchreuder Avatar
  • GiacomoSorbi Avatar
  • bidouille Avatar
  • cliffstamp Avatar
  • Kacarott Avatar
  • tri@ Avatar
  • Just4FunCoder Avatar
  • saudiGuy Avatar
Ad