hexo/node_modules/gauge/lib/spin.js

6 lines
110 B
JavaScript

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