:roll_of_paper: @iterable-iterator/iter
An iter
function for JavaScript.
See docs.
:warning: Depending on your environment, the code may require
regeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import {iter} from '@iterable-iterator/iter';
iter('ABC').next().value; // A