Initializes a new instance of the List class.
Namespace: MindFusion.Common.Collections
File: List.js
SyntaxJavaScript
Copy Code
|
|---|
function List ([items]) |
Type: Array
Array. The underlying array data structure of the list.
ExampleThe following code creates a List with products:
JavaScript
Copy Code
|
|---|
var product1 = new Object(); var product2 = new Object(); List products = new List([product1, product2, ...]); |
See Also