filter

Javascript 2020. 2. 28. 18:14

 

var arr = [10, 22, 30, 11, 40].filter(function(i) {
	return i > 10;
});
console.log(arr);

 

댓글 0