[JS test] Remove duplicate
JavaScript
/*
* create a function that would remove duplicate members of an array.
*
* > removeDuplicate([1,3,3,3,1,5,6,7,8,1]);
* = [1, 3, 5, 6, 7, 8]
*
*/
/*
* create a function that would remove duplicate members of an array.
*
* > removeDuplicate([1,3,3,3,1,5,6,7,8,1]);
* = [1, 3, 5, 6, 7, 8]
*
*/