Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get an absolute in js

var value = Math.abs(-10);
// value returns 10
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #absolute #js
ADD COMMENT
Topic
Name
4+8 =