Chapter 1 - paging

I’m at a loss and I feel out of my depth.
I keep looking at that function and I think understand what I’m looking at but I have no idea what to do.
This is too big for me. Maybe I’m not ready for this course.

Thank you
Karin Meersman

Actually it was very simple, I was just a little intimidated by the machine I found myself in. I’ve never worked with a real world application of that size.
And I used console.log() a few times. When I deleted those statements and used variable names instead of numbers, I passed the tests.