70
rated 0 times
[
71]
[
1]
/ answers: 1 / hits: 130479
/ 8 Years ago, sat, may 21, 2016, 12:00:00
I would like to know if there is a native javascript code that does the same thing as this:
function f(array,value){
var n = 0;
for(i = 0; i < array.length; i++){
if(array[i] == value){n++}
}
return n;
}
More From » arrays