The Josephus problem in JavaScript (3 Solutions!!)

Published --