1 var slice = require('../array/slice');
4 * Delays the call of a function within a given context.
6 function timeout(fn, millis, context){
8 var args = slice(arguments, 3);
10 return setTimeout(function() {
11 fn.apply(context, args);
15 module.exports = timeout;