How can I extract only the elements in an array that have a count higher than 10?
{ word: 's', count: 15 }
{ word: 'tesoro', count: 15 }
{ word: 'conceden', count: 15 }
{ word: 'determinadas', count: 15 }
{ word: 'interés', count: 15 }
{ word: 'cruz', count: 15 }
{ word: 't', count: 15 }
{ word: 'española', count: 15 }
{ word: 'establece', count: 15 }
{ word: 'ingeniería', count: 15 }
...
Would using a for loop and splice be an effective method to achieve this? Thank you!