Membuat array javascript unik
THIS SITE IS MIRROR || Skip to Full Contents (Read More)
Membuat array javascript unik - img border=0 src=https://static.cdn-cdpl.com/700x350/5615bb41d81fad8fe992985aec0e5f29/js.jpg data-original-width=700 function arrayUnik(A){
uniq = A.filter(function(item, pos, self) {
return self.indexOf(item) == pos;
});
return uniq;
}
/ Penggunaan /
var arraymu = [1,2,3,4,5,6,3,7,7,55,6,7,90,98,89,98
THIS SITE IS MIRROR || Skip to Full Contents (Read More)
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.