This paper relates to three aspects (object, function, array) of the JS.
First, the array (array)
Literal:
length Usage: Remove the last element data. length represents the total number of elements.
Second, the function (function)
For example:
Receiving a digital input: call the function getSum, you can pass any value.