Skip to content

lib: add primordials.SafeStringIterator

Allows node internal function to iterate over strings without relying on String.prototype[Symbol.iterator] and %StringIteratorPrototype%.next, which may be mutated from user-land.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading