Given an array of strings, remove all words less than 6 characters. Return a new array.
// input:
const a = ['apple', 'banana', 'kiwi', 'grapefruit']
// output:
['banana', 'grapefruit']
(Ctrl + ')
Loading...
/* output */
Next(Ctrl + y)
Given an array of strings, remove all words less than 6 characters. Return a new array.
// input:
const a = ['apple', 'banana', 'kiwi', 'grapefruit']
// output:
['banana', 'grapefruit']
/* output */