Question: Javascript ES6 2. Use the filter() method on the consoles array to return a new array. (5 pts) Only the consoles from the specified manufacturer

Javascript ES6

Javascript ES6 2. Use the filter() method on the consoles array to

2. Use the filter() method on the consoles array to return a new array. (5 pts) Only the consoles from the specified manufacturer given should be in the new array. Assume all consoles will have the console manufacturer name in the item key. FOR FULL credit use the provided manufacturer variable as is (you cannot edit it). const manufacturer = 'nintendo'; const consoles = [ { item: 'Sony PS4 Pro', price: 399.99 }, { item: 'Microsoft Xbox One X', price: 499.99 }, { item: 'Nintendo Switch', price: 299.99 }, { item: 'Sony PS2 Console', price: 299.99 }, { item: 'Nintendo 64', price: 199.999 } li EXPECTED OUTPUT (array of objects): { item: 'Nintendo Switch', price: 299.99 }, { item: 'Nintendo 64', price: 199.999 }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!