libs/lodash.js
function delay(func, wait) {
      if (!isFunction(func)) {
        throw new TypeError(funcErrorText);
      }
      var args = slice(arguments, 2);
      return setTimeout(function() { func.apply(undefined, args); }, wait);
    }
function delay(func, wait) {
      if (!isFunction(func)) {
        throw new TypeError(funcErrorText);
      }
      var args = slice(arguments, 2);
      return setTimeout(function() { func.apply(undefined, args); }, wait);
    }
function delay ( func , wait ) { if ( ! isFunction ( func ) ) { throw new TypeError ( funcErrorText ) ; } var args = slice ( arguments , 2 ) ; return setTimeout ( function ( ) { func . apply ( undefined , args ) ; } , wait ) ; }
Executes the `func` function after `wait` milliseconds. Additional arguments
will be provided to `func` when it is invoked.

@static
@memberOf _
@category Functions
@param {Function} func The function to delay.
@param {number} wait The number of milliseconds to delay execution.
@param {...*} [args] Arguments to invoke the function with.
@returns {number} Returns the timer id.
@example

_.delay(function(text) { console.log(text); }, 1000, 'later');
// => logs 'later' after one second
Executes the func function after wait milliseconds . Additional arguments will be provided to func when it is invoked .