()
| 10 | var colors = ["#FF6138", "#FFBE53", "#2980B9", "#282741"]; |
| 11 | var index = 0; |
| 12 | function next() { |
| 13 | index = index++ < colors.length - 1 ? index : 0; |
| 14 | return colors[index]; |
| 15 | } |
| 16 | function current() { |
| 17 | return colors[index]; |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected