fix lint
This commit is contained in:
parent
6c7cb380e0
commit
abd9d3a11e
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* creates a new array with only the unique values of the given array
|
* 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
|
* @return {array} the deduplicated array
|
||||||
*/
|
*/
|
||||||
export function unique(arr) {
|
export function unique(arr) {
|
||||||
|
@ -26,4 +27,4 @@ export function unique(arr) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return cpy;
|
return cpy;
|
||||||
};
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue