docs: function parseDelay(value) {
    var millisPerSecond = 1000;
    var millis = 0;
    
    if (value.match(/^\d*ms$/)) {
      // Explicitly parse for milliseconds when using ms time specifier
      millis = parseInt(value, 10);
    } else {
      // Otherwise, parse for seconds, with or without time specifier, 
      // then convert to milliseconds.
      millis = parseFloat(value) * millisPerSecond;
    }
    
    return isNaN(millis) ? 0 : millis;
  }