ES6—36: Array expansion method

Array.form(): Convert pseudo-array to real array

Array.find() method

findIndex() method: find the position of the first element in the array that meets the conditions

Array.includes() method: indicates whether an array contains a given value

Guess you like

Origin blog.csdn.net/sinat_41696687/article/details/114250469