79276536

Date: 2024-12-12 20:44:30
Score: 1
Natty:
Report link
let number = [1, 2, 3, 4, 5, 6];
function CustomForeach(callback, array) {
    for (let a = 0; a < array.length; a++) {
        callback(array[a], a, array);
    }
}
CustomForeach((element, index, array) => {console.log(array);}, number);
    

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: xeyal hesenli5