Iterable round-robin for JavaScript. See docs.
⚠️ Depending on your environment, the code may requireregeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import {roundRobin} from '@iterable-iterator/round-robin';
roundRobin( [ "ABC" , "D" , "EF" ] ) ; // A D E B F C