An array of statistical cycle

General circulation for, for ... in, for ... of forEach and
needs to be mapped with a new array map,
to be screened with a desired filter,
the value needs to be accumulated with reduce,
if find some value and some every,
if you want to know the specific location of values can be used indexOf and lastIndexOf

 

Guess you like

Origin www.cnblogs.com/xinsir/p/11773054.html