need to convert negative number to positive using javascript code example Example: convert negative number to positive in javascript Math.abs("the negative number")