6 lines
105 B
Plaintext
6 lines
105 B
Plaintext
'use strict'
|
|
|
|
module.exports = function spin (spinstr, spun) {
|
|
return spinstr[spun % spinstr.length]
|
|
}
|