demo/src/class.js
function(a, b, retArr) {
            if (retArr) {
                return [a, b, a + b];
            }
            return a + b;
        }
function(a, b, retArr) {
            if (retArr) {
                return [a, b, a + b];
            }
            return a + b;
        }
function ( a , b , retArr ) { if ( retArr ) { return [ a , b , a + b ] ; } return a + b ; }
Returns the sum of a and b
@param {Number} a
@param {Number} b
@param {Boolean} retArr If set to true, the function will return an array
@returns {Number|Array} Sum of a and b or an array that contains a, b and the sum of a and b.
Returns the sum of a and b