1 line
137 B
JavaScript
1 line
137 B
JavaScript
|
|
export const itemIdxByPage = (resultCnt, currentPageNo, pageSize, index) => resultCnt + 1 - ((currentPageNo - 1) * pageSize + index + 1);
|