VirtualArray.Sum() Method

Top 

Description

Returns the sum of the elements in the array.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

VirtualArray.Sum(

)

 

 

Return Value

Type:

number

 

 

Return the sum of the elements in the array.

 

Syntax

myVariable1 = {1,2,3,4}.Sum();

 

 

See also

VirtualArray Object