Chunky Monkey challenge try to fix my issue

Tell us what’s happening:
Please help me i don’t know what i am missing in my logic
I spend The whole day on this challenge

Your code so far

function chunkArrayInGroups(arr, size) {
  // Break it up.
  let result=[];
  let nb=0;
  nb =(arr.length%size==0)? arr.length/size : Math.floor(arr.length/size)+1;
   for(let i=0;i<arr.length;i+=2){
  return result;

chunkArrayInGroups(["a", "b", "c", "d"], 2);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36.

Link to the challenge:

You are soooo close… you have a little something extra in one line of your code, here’s a hint:

Thank you , I fogot that slice return an array object

I also just noticed there might be an additional issue, let me know if you still need help. :slight_smile:

1 Like

Thanks but i already fix it

1 Like

Awesome! Great job. :grinning: