Thread: Help Array!!!!!
View Single Post
Old 12-30-2012, 01:01 PM   PM User | #12
triko
New Coder

 
Join Date: Oct 2012
Location: Italy
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
triko is an unknown quantity at this point
Quote:
Originally Posted by felgall View Post
A simple way to make a copy of an array without needing a loop.

Code:
array1 =  [1, 4, 2, 13, 5];
array2 = [].concat(array1);
Yes fegal, I have test, but don't is this my problem, I have explained bad!!!
triko is offline   Reply With Quote