Practice how to return an iterator of a specified text in a String in JavaScript

JavaScript logo JavaScript Online Editor