You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you guys have a look at my code to help me figure out what wrong in my code that causes some cases are passed , some are failed
var slice = Array.prototype.slice;
function logger(namespace) {
// SOLUTION GOES HERE
let arr = slice.call(arguments);
return function (...params) {
arr.push.apply(arr, params);
console.log.apply(null, arr);
};
}
Screenshot
The text was updated successfully, but these errors were encountered:
Hi all,
Would you guys have a look at my code to help me figure out what wrong in my code that causes some cases are passed , some are failed
Screenshot
The text was updated successfully, but these errors were encountered: