easyJS ES6+#110

Marquesina (marquee rotation)

Prompt

Create a marquee effect: given a string, return an array with each rotation where the first letter moves to the end. Example: "abc" -> ["abc","bca","cab"]

Hints

Solution

Your Code

5 min

Tests

Click Run to test your code