Microsoft®
JScript toArray Method |
Language Reference Version 3
|
Note: This is NOT a native JS functionIn JScript: Converts a VBArray to a standard JScript array.
In JQuery: .toArray() returns all of the elements in the jQuery set
https://api.jquery.com/toArray/
safeArray.toArray( )The safeArray argument is a VBArray object.
In JScript: The conversion translates the multidimensional VBArray into a single dimensional JScript array. Each successive dimension is appended to the end of the previous one. For example, a VBArray with three dimensions and three elements in each dimension is converted into a JScript array as followsSuppose the VBArray contains: (1, 2, 3), (4, 5, 6), (7, 8, 9). After translation, the JScript array contains: 1, 2, 3, 4, 5, 6, 7, 8, 9.
There is currently no way to convert a JScript array into a VBArray.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js912.htm, 2KB, , updated: 2019/12/26 10:19, local time: 2024/11/21 04:46,
13.59.205.182:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js912.htm"> toArray Method</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.