src/util.js
function findNext(array, item) {
  return array[(Util.findIndex(array, el => el === item) + 1) % array.length]
}
function findNext(array, item) {
  return array[(Util.findIndex(array, el => el === item) + 1) % array.length]
}
function findNext ( array , item ) { return array [ ( Util . findIndex ( array , el => el === item ) + 1 ) % array . length ] }
Return the next item in an array. If there is no next, return the first.
Return the next item in an array . If there is no next return the first .