Solving a Codewars Challenge as a Beginner using JavaScript.
๐๐ผ๐ฑ๐ฒ ๐๐ต๐ฎ๐น๐น๐ฒ๐ป๐ด๐ฒ: ๐๐ฉ๐ข๐ง ๐๐ซ๐จ๐ฎ๐ง๐, ๐๐จ๐ฎ๐๐ก ๐ญ๐ก๐ ๐๐ซ๐จ๐ฎ๐ง๐
The Challenge: Given a list of directions to spin, "left" or "right", I had to return an integer of how many full 360ยฐ rotations were made. Each word in the array repr...
codewithsule.hashnode.dev3 min read