source:
trip-planner-front/node_modules/gauge/spin.js@
6a3a178
Last change on this file since 6a3a178 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 105 bytes |
Line | |
---|---|
1 | 'use strict' |
2 | |
3 | module.exports = function spin (spinstr, spun) { |
4 | return spinstr[spun % spinstr.length] |
5 | } |
Note:
See TracBrowser
for help on using the repository browser.