Can you,help me? to write a code to node.js Create a name list? wherein you will delete ezra and insert esme ? anyone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you,help me? to write a code to node.js Create a name list? wherein you will delete ezra and insert esme ? anyone

8th Dec 2020, 4:50 AM
Sharmaine Funtilar
Sharmaine Funtilar - avatar
4 Answers
0
Easy, use splice: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice with splice you can replace/delete any item you want.
10th Dec 2020, 3:44 AM
Jouhar
Jouhar - avatar
0
I would appreciate some more clarification. Like a portion of the code, what you did and what do you expect.
10th Dec 2020, 2:52 AM
Jouhar
Jouhar - avatar
0
i mean , Given that we have 10 nodes in a list namely Alice, Benny, Cecilia, Diggy, Ezra, Frank, Gus Harley, Irith, John and Karen. Writea code wherein you will delete Ezra and insert Esme.
10th Dec 2020, 3:20 AM
Sharmaine Funtilar
Sharmaine Funtilar - avatar
0
ahm. Thank you, sir
10th Dec 2020, 3:51 AM
Sharmaine Funtilar
Sharmaine Funtilar - avatar