📅  最后修改于: 2022-03-11 15:02:10.536000             🧑  作者: Mango
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"]