score:3

const itemCount = hasNextPage ? items.length + 1 : items.length;

Related Query

More Query from same tag