stuff easier u know)
                  
                  
                  
                  
                  
                  function* chunk(array, n) {
                  
                  
                      yield array.slice(0, n);
                  
                  
                      array.length > n ? yield * chunk(array.slice(n), n) : null;
                  
                  
                  }
                  
                  
                
Why not &&?
@TRGWII likes those, they can be very readable, unsure if they'll stack overflow, definitely you do twice as much slices as me
Обсуждают сегодня