Ad
  • Custom User Avatar

    JS automated test seems to be wrong.
    Collection: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
    11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
    21, 22, 23, 24]
    itemsPerPage: 10

    function pageIndex(3) should return 0, since page indexes are zero-based, but the test fails.