abovefoldAlgorithm: remove accidental console.log
This commit is contained in:
parent
2681b32f7d
commit
94c2f5e978
1 changed files with 0 additions and 2 deletions
|
@ -32,8 +32,6 @@ const abovefoldAlgorithm: PickAlgorithm = (items, iteration, rawOpts) => {
|
||||||
/** Index to insert the item. */
|
/** Index to insert the item. */
|
||||||
const insertIndex = Math.floor(rng() * (opts.range[1] - opts.range[0])) + opts.range[0];
|
const insertIndex = Math.floor(rng() * (opts.range[1] - opts.range[0])) + opts.range[0];
|
||||||
|
|
||||||
console.log({ page, iteration, pageIndex, insertIndex });
|
|
||||||
|
|
||||||
if (pageIndex === insertIndex) {
|
if (pageIndex === insertIndex) {
|
||||||
return items[page % items.length];
|
return items[page % items.length];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue