Arrays
It is used to store multiple values in single variable.
The length property returns the array length.
var bodyname= ["Body1", "Body2", "Body3"];
var arraycount = bodyname.length;
Output
arraycount value is 3.
It is used to store multiple values in single variable.
The length property returns the array length.
var bodyname= ["Body1", "Body2", "Body3"];
var arraycount = bodyname.length;
Output
arraycount value is 3.