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]
|
|
}
|