JS syntax core (D)

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.

 

 

Guess you like

Origin blog.csdn.net/weixin_40876986/article/details/92760051