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), orvcbuild test
(Windows) passes -
commit message follows commit guidelines