Takes a number of pages and a current page and returns an array of up to 9 pages with first, last, current, +2 on each side, and ellipsis where results are truncated. - View it on GitHub
Star
2
Rank
3685759