debugger Statement Usage
What higher-order function pattern is shown here?
function debuggableWrapper(fn) {
return function(...args) {
debugger;
return fn.apply(this, args);
};
}
function debuggableWrapper(fn) {
return function(...args) {
debugger;
return fn.apply(this, args);
};
}