add arr.map
This commit is contained in:
		| @@ -33,3 +33,5 @@ someUsers = users.filter(function(item, index, array){ | |||||||
| console.log(someUsers); | console.log(someUsers); | ||||||
|  |  | ||||||
| // arr.map(fn) | // arr.map(fn) | ||||||
|  | let lengths = array.map(item=>item.length); | ||||||
|  | alert(lengths); | ||||||
		Reference in New Issue
	
	Block a user