const workers = generateWorkersArray(60)
-let nextWorkerIndex = 0
+let nextWorkerIndex
function chooseWorkerTernaryOffByOne () {
nextWorkerIndex =
nextWorkerIndex = 0
chooseWorkerTernaryWithNegation()
})
- .add('Ternary with PreChoosing', function () {
+ .add('Ternary with pre-choosing', function () {
nextWorkerIndex = 0
chooseWorkerTernaryWithPreChoosing()
})