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