Posts by user7648 • 1 point
1 post
-
-1
votes1
answer122
viewsA: Error adding new instances in a Javascript array
Instead of: array.push(element); Try to use: array = [].push.apply(array, element);
1 post
-1
votes1
answer122
viewsInstead of: array.push(element); Try to use: array = [].push.apply(array, element);