Can you spot the duplication?
Jigar Gosar

Math.abs() already provides the required behaviour which we are trying to wrap using the decalaration

var absoluteValue = function(num) { … }

Reuse would be passing the Math.abs() behaviour .using short hand notation

var absoluteValue = ( Math.abs(num) );

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.