Posts by wwgoncalves • 131 points
1 post
-
3
votes1
answer263
viewsA: Set an array to circular in Javascript
Answering the main question, you cannot literally define an array as circular, but you can traverse it in a circular way using modular arithmetic. This is easily reachable in Javascript using the…
javascriptanswered wwgoncalves 131