Skip to content

Tag: arrays

Change Array[3] for every item in other array

EDIT Made a mistake in my question. The let tempArr = splitArr is wrong. This needs to be: tempArr = car. So the awnser of @Prime and @sabbir.alam does the trick! I have a array of values where one value (car[3]) of the array is a string seperated by “, “. I created a new array of those elements (…

Scanning an array js object

Hello, I want to make a basic visual editor for my plugins. I have an js object like this. I want to get all “components” properties in this. I am using a this function to convert js blocks to html. However this func is very bad :P. Please HELLLP… -Edit: How can I scan nested components prop…