gistfile1.txt var _debugger = (function (func) { var locked = false return function () { if (locked) return locked = true var args = Array.prototype.slice.call(arguments) func(function () { locked = false return args }) } })(function (res)
var _debugger = (function (func) { var locked = false return function () { if (locked) return locked = true var args = Array.prototype.slice.call(arguments) func(function () { locked = false return args }) } })(function (res) { setTimeout(function () { console.log.apply(console, res()) }, 3000) });