a guest Apr 18th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // Raviolli Raviolli gimme the formuoli to calculate the amount of pages given an array of items and a max items per page
- Math.ceil([1, 2, 3, 4, 5, 6, 7].length / (ITEMS_PER_PAGE = 3))
RAW Paste Data