Write a function that removes duplicate characters from a given string. ( Try to write core JS)
const removeDuplicateChar = (str1) =&gt; {     let newArr = [];     let stringArr = str1.split(""); ...
Tags: javascript, string, array, duplicate