how to remove negative sign in javascript code example Example: js make value positive Math.abs(-4)//returns 4 Math.abs(4)//returns 4