Как получить абсолют в JS

var value = Math.abs(-10);
// value returns 10
Ill Impala