how to get positive value of a negative number js code example Example: convert negative number to positive in javascript Math.abs("the negative number")