DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js make value positive
Math.abs(-4)//returns 4 Math.abs(4)//returns 4
PREVIOUS
NEXT
Tagged:
#js
#positive
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit