Answers for "javascript array filter exercises"

0

javascript array filter exercises

function fiveAndGreaterOnly(arr) {
  return arr.filter(greater => greater>5);
}
// test
console.log(fiveAndGreaterOnly([3, 6, 8, 2])); /// [6, 8]
Posted by: Guest on August-19-2021

Code answers related to "javascript array filter exercises"

Code answers related to "Javascript"

Browse Popular Code Answers by Language