Skip to content

Tag: javascript

How to save the name of object in array object?

I have an array containing 7 objects named is NewClass. When I make some changes to the objects, the object has lost its original NewClass name. Like that: In arrray[6] lost NewClass name. So is there any way I can keep the NewClass name for that object? Here is my function to handle this array: }, [selectedL…