0
How to remove specific concatenate elements in an item of an array using js
Supposing i have an array of say 3 items and each item has elements like strings which are concatenated together, how can i use JavaScript to remove maybe 2 of such concatenated elements(strings). https://code.sololearn.com/WsklvbXswER4/?ref=app https://code.sololearn.com/WsklvbXswER4/?ref=app In this code, i want to remove the last two elements that is "and" and the last color of every item in the array.
1 Respuesta
+ 1
give an example!