read a list javascript code example
Example 1: return array javascript
function func() {
return [5, "string", {a: 7}];
}
Example 2: javacript array
[element0, element1, ..., elementN]
new Array(element0, element1[, ...[, elementN]])
new Array(arrayLength)