Question: Data Structures Checkpoint JAVASCRIPT Your friends are ordering some food, so why not use your new found knowledge of JavaScript datatypes to structure it? Given

Data Structures Checkpoint JAVASCRIPT Your friends are ordering some food, so why not use your new found knowledge of JavaScript datatypes to structure it? Given the foods, people, and orders arrays, use native array methods to fully populate the orders array To start you off, we've shown you how to record Milly is ordering pizza, and ice cream. Note the order property should always be an array, even if the person is ordering one thing. Add the following orders- in this order- to the orders array 1. George orders sushi 2. Sally orders steak and sushi 3. Ken orders steak and ice cream var foods ['pizza', 'sushi', 'steak', 'ice cream '] var people= [Milly', 'George', 'Sally', 'Ken'] var orders = 1 2 4 5 orders.pushC name: people[0], order: [foods [0], foods [3]])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
