mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-28 04:27:42 +00:00
6 lines
105 B
JavaScript
6 lines
105 B
JavaScript
|
'use strict'
|
||
|
|
||
|
module.exports = function spin (spinstr, spun) {
|
||
|
return spinstr[spun % spinstr.length]
|
||
|
}
|