Answers for "mdn filter"

0

mdn filter

const words = ['spray', 'limit', 'elite', 'exuberant', 'destruction', 'present'];
const result = words.filter(word => word.length > 6);
console.log(result);
// expected output: Array ["exuberant", "destruction", "present"]
Posted by: Guest on October-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language