repo
replacements.fyi

// package

es-get-iterator

type: "module"

// preferences

// replacements (1)

snippet::get-iterator

Simple or drop-in replacement

This package is no longer necessary. Every modern runtime provides a way to get the iterator function through the `Symbol.iterator` symbol.

// example

const iterator = obj[Symbol.iterator]?.();