Filter Strings by Length
Use the
filter
method to return only the strings in the array that have a length greater than 3.Premium
JavaScript
Console
filter
method to return only the strings in the array that have a length greater than 3.