clamp (value, min, max) {
        'use strict'

        return Math.max(min, Math.min(value, max))
    }
Clamp a number to between the given min and max values.
@param  {Number} value The number to clamp.
@param  {Number} min   The minimum value.
@param  {Number} max   The maximum value.
@return {Number}       The clamped number.