Question: This project will allow you to practice the material from the first 3 modules. Please, read through the instructions completely before starting so that
This project will allow you to practice the material from the first 3 modules. Please, read through the instructions completely before starting so that you will understand what is being asked. Chose an/a industry/category that you like. It can be anything: electronics, furniture, apple products, anything that you use or live in. Do not use the same products as a friend. The selection must be unique, otherwise will be considered misconduct. 1. Select some products of the industry/ category and create an array of objects. For example, in the case of electronics you could select TV, computers, printers, etc. For furniture, you could select beds, chair, couch and so on. There are many products of any industry that can use. Feel free to use the web to research these values. The array must contain at least 10 objects Select your data from related web sites (stores, factories, etc.) Each object will have at least 4 properties with values Each object of the array should have the same set of property names with different values. o At least one string value and 2 number value o Other properties can be of any JavaScript value type, including an array 2. Create a function that: a. can make a calculation; example: one of the total inventory cost or cost of products sold of each product/object or (your could select any calculation matches your data) b. and the output can be used to format your object in a nice string format for output. This function should be a pure function that takes one object as an argument and return the string as described in step b. The string can be formatted in any way that you feel is appropriate for your data including the calculation in step a. It must use one or more properties from the object in the output string. 3. Create a new array from your array that only contains string values produced by the
Step by Step Solution
3.53 Rating (163 Votes )
There are 3 Steps involved in it
Java script vehicles modelNumber 1869 modelName marutiSuzuki inventoryStoke 13 price 5960 soldModels 9 modelNumber 1235 modelName marutiWegnar inventoryStoke 10 price 8560 soldModels 15 modelNumber 19... View full answer
Get step-by-step solutions from verified subject matter experts
