Consider the following code… const seasons = [ { season: “F…
Consider the following code… const seasons = [ { season: “Fall”, avgTemp: 46 }, { season: “Winter”, avgTemp: 17 }, { season: “Spring”, avgTemp: 54 }, { season: “Summer”, avgTemp: 72 }]const newSeasons = seasons.filter(s => true); After executing this code, what will be the value of newSeasons.length?
Read Details