Suoritettu

Write me simple javascript code

Problem One

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:

{

title: “Candide”,

description: “Satire of the concept of living in the best of all possible worlds”,

author: “Voltaire”

}

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.

Problem Two

2) One of the most important tools we’ll be using in React is the JavaScript .map() function, which allows us to iterate through an array and return a new array whose values are modified in some way based on the original. For example, we could map through the array [0, -2, 7, 8] and use .map() to return a new array that adds 2 to each of those values, i.e. it returns [2, 0, 9, 10]. For more information, check out this link.

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”,

artist: “Japandroids”,

genre: “Rock”,

album:

{

title: “Celebration Rock”,

label: “Polyvinyl”

},

plays: 9001

}

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.

Taidot: Javascript

Näytä lisää: write simple text based game code, write javascript code anywhere window shows key pressed, simple wait keyboard input javascript code, simple javascript iframe code, calculator simple javascript html code, simple javascript calculator code, making simple mouseover code javascript, javascript code remove items check box lists, javascript simple chat code, simple interest javascript code, simple registration javascript code, write javascript code sugarcrm, write javascript code window shows key pressed, write simple code extension, write simple javascript, website simple javascript shopping cart code, write simple sas code, write a javascript program to check from two given integers, if one is positive and one is negative.

Tietoa työnantajasta:
( 0 arvostelua ) Charlottesville, United States

Projektin tunnus: #21408803

Myönnetty käyttäjälle:

MimiFL

Hello, this is definitely possible, and i can code both of these functions in ~30 minutes and i can start right now. If you are interested in working with me, feel free to message me and i will try to help immediately Lisää

$20 USD 1 päivässä
(227 Arvostelua)
6.4

15 freelanceria on tarjonnut keskimäärin 26$ tähän työhön

bluestar1027

*****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.

$20 USD 7 päivässä
(4 arvostelua)
4.4
Developer000

Feel fee to contact me for .Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the work [login to view URL] y Lisää

$30 USD 2 päivässä
(3 arvostelua)
4.0
waleedsultan755

Das Control Center des XAMPP - Apache und MySQL funktioniert ... Zuerst brauche ich das Terminal, damit ich den o.g. Befehl auch ausführen kann. ... Unter Mac OS X habe ich 2 Möglichkeiten, wo ich meine Webseiten ableg Lisää

$20 USD 1 päivässä
(5 arvostelua)
3.8
zeus91123

Dear Poster !! I read your requirement carefully and am interested in your project. I am a JavaScript expert and can start right now. If you hope success of your project please contact me. Thanks for reading. Best Rega Lisää

$30 USD 1 päivässä
(5 arvostelua)
2.2
AntonKozel

***** javascript Expert***** Hello . I have read your job description carefully. I have full experience in Ajax & Javascript & jquery & mysql. If you give me a chance, I will deliver good result. I hope to discuss mo Lisää

$50 USD 1 päivässä
(1 arvostelu)
1.4
HoldTheLettuce

I can complete these small JavaScript tasks within the next few hours upon hire. I've been developing in JavaScript for many years now, and am competent to complete to complete this assignment. I'm familiar with ES6 wh Lisää

$20 USD 1 päivässä
(3 arvostelua)
1.2
ZiZi666

hi dear. your job is interesting for me. please contact me then we can discuss more. thanks. regards.

$20 USD 2 päivässä
(1 arvostelu)
0.8
bhaarat87

Let's get it resolved. let's have a chat.. exchange the code and you are done.. I got your point and I am familiar with these kind of searches.

$35 USD 1 päivässä
(0 arvostelua)
0.0
fehervalentin

Are we working on large datasets? Do I need to consider performance issues? Otherwise, both problems are straightforward to me.

$15 USD 1 päivässä
(0 arvostelua)
0.0
$25 USD 1 päivässä
(0 arvostelua)
0.0
Mkerciku

i have the experience and the skills to do it. i have been working as a full stack developer for almost 3 years now , mostly in commercial projects.

$50 USD 7 päivässä
(0 arvostelua)
0.0
borgeron

I worked on similar projects by the past. I did a client/server communication system with queries like this. Client-side was developed in javascript and I had some functions that fit to your needs.

$20 USD 1 päivässä
(0 arvostelua)
0.0
christianbayer

Hello, by your description, both problems seems very easy to solve, using some of the ES6+ native functions (like the .map()). If you hire me, I'll deliver the functional code to you in under a few minutes. Fell fre Lisää

$15 USD 1 päivässä
(0 arvostelua)
0.0
Mo7amed5alaf

hi sir, my name is Mohamed ,experienced full stack developer using my different skills javascript, jquery ,.... ect. i read your tasks and i can do them in short time with high performance because i have experience wit Lisää

$15 USD 1 päivässä
(0 arvostelua)
0.0