Create JS function to remove spaces from giving string. ( Using core js and not in-built trim function.)
const trim = (string) =&gt; {     let strArr = string.split("");     let trimedStr = [];    ...
Tags: javascript, array, string, trim