Philipp Horstenkamp 67796af83c
Some checks failed
Lint / pre-commit Linting (push) Failing after 51s
Reinstalled with --fix
2023-11-26 16:51:02 +01:00

6 lines
105 B
JavaScript

'use strict'
module.exports = function spin (spinstr, spun) {
return spinstr[spun % spinstr.length]
}