pull/21833/head
Bruno Windels 2018-09-04 13:55:29 +02:00
parent 6c7cb380e0
commit abd9d3a11e
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ limitations under the License.
/**
* creates a new array with only the unique values of the given array
* @param {array} arr the array to deduplicate
* @return {array} the deduplicated array
*/
export function unique(arr) {
@ -26,4 +27,4 @@ export function unique(arr) {
}
});
return cpy;
};
}