index.js
function(number, precision) {

    const multiplier = !!precision ? Math.pow(10, precision) : 1;

    return Math.ceil(number * multiplier) / multiplier;
  }
function(number, precision) {

    const multiplier = !!precision ? Math.pow(10, precision) : 1;

    return Math.ceil(number * multiplier) / multiplier;
  }
function ( number , precision ) { const multiplier = ! ! precision ? Math . pow ( 10 , precision ) : 1 ; return Math . ceil ( number * multiplier ) / multiplier ; }
Math.ceil with 'precision' parameter

@param {number} number
@param {number} precision

@return {number}
Math . ceil with precision parameter