javascript make value positive code example Example: js make value positive Math.abs(-4)//returns 4 Math.abs(4)//returns 4