abovefoldAlgorithm: remove accidental console.log

This commit is contained in:
Alex Gleason 2022-09-12 10:47:01 -05:00
parent 2681b32f7d
commit 94c2f5e978
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -32,8 +32,6 @@ const abovefoldAlgorithm: PickAlgorithm = (items, iteration, rawOpts) => {
/** Index to insert the item. */
const insertIndex = Math.floor(rng() * (opts.range[1] - opts.range[0])) + opts.range[0];
console.log({ page, iteration, pageIndex, insertIndex });
if (pageIndex === insertIndex) {
return items[page % items.length];
}