-
Notifications
You must be signed in to change notification settings - Fork 15
JSArray.Clear
boxgaming edited this page Jul 25, 2026
·
4 revisions
Removes all values from a given array.
JSArray.Clear a
- The a parameter contains the native Javascript array on which the operation will be performed.
Import JSArray From "lib/lang/array.bas"
Dim colors As Object
colors = JSArray.Create("red", "green", "blue", "orange", "yellow", "white")
Print JSArray.Length(colors)
JSArray.Clear colors
Print JSArray.Length(colors)6
0