![]() |
can you pop/push arrays in javascript?
Can you pop and push values to and from arrays in javascript?
|
Version 5.5 of Micosoft JScript adds these methods to the array object... not sure if they are available on current Client Side Javascript implementations
arrayObj.pop( ) arrayObj.push([item1 [item2 [. . . [itemN ]]]]) since its an implementation of the ECMA 262 language you might expect it to appear on the most recent browsers |
Thanks. So I guess I can't do it in JS 1.0 to 1.2.
|
CSJS reference for array object
http://developer.netscape.com/docs/m...sref/array.htm certainly has pop and push methods for CSJS v1.2 |
Excellent, I'll check it out. Thanks.
|
All times are GMT -7. The time now is 07:54 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123