Iterable reversion for JavaScript. See docs.
⚠️ Depending on your environment, the code may requireregeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import {reversed} from '@iterable-iterator/reversed';
reversed('ABC') ; // C B A