You’re writing a piece of server side code that searches for books based on a search keyword. Write a function that takes in two parameters: a search keyword (i.e. “worlds”) and an array of Objects with the following fields and example values:
description: “Satire of the concept of living in the best of all possible worlds”,
Your function should search through all these Objects and return an array of the Objects which contain the keyword in either the title, description, or author. For example, the above Object would be returned in this array, as we searched the keyword “worlds” which is found in the description.
Assume that you’re working for a music software company where each user has an array of song Objects associated with them. Each Object would be of the form
title: “The House That Heaven Built”,
title: “Celebration Rock”,
Alas, someone released a virus where if the album’s label was “Polyvinyl”, it’s now been changed to “hackerL33TzRec0rd$”! Write a function that takes in an array of these Objects, and uses .map() to return a new array of Objects where any songs that were affected by the virus (i.e. had “Polyvinyl” changed to “hackerL33TzRec0rd$”) are fixed. Of course, if an Object wasn’t hit by the virus, it should be unchanged in your new array.
15 freelanceria on tarjonnut keskimäärin 26$ tähän työhön
*****Hello, dear!!!***** I have read your description carefully. I can handle it with full confidence and have already done this type of projects. Please give me an opportunity to work with you.