Programming/Javascript / / 2020. 2. 28. 18:14

filter

728x90

 

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

 

반응형