Flasj q: Arrays
Flasj q: Arrays
- Started
- Last post
- 8 Responses
- UndoUndo0
why dont you just loop through the first array and push the contents into the second one using array.push()
- Fariska0
Many thanks guys.
I was working on something similar.
- Fariska0
Works!!!! Great
*offers a pint
- UndoUndo0
did you define objects2 as a new Array.
ie
objects2 = Array();
objects2 = objects;that might help
- Fariska0
Tried, but same result :-/
- UndoUndo0
so when you modify objects2, objects is also modified?
- Fariska0
exactly. Now i'm triyng to write a duplicate method for the prototype object.