This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * | |
* Takes an array of objects and removes duplicate data on an interior poperty, | |
* and objects that have and empty testing poperty | |
* @params an array and a object param | |
* @returns array of unique objects, with no empty property value | |
* */ | |
arrayScrub = function(array,param) { | |
var i, x, test, testArray = [array[0]]; | |
for (i = 0; i < array.length; i++) { |
NewerOlder