
Since 007282d2b, [TocService][1] uses [forEach()][2] to iterate over a `NodeList`. This breaks in IE11, which does not support `NodeList#forEach()`. This commit wraps the returned `NodeList` in a regular `Array` to have access to array methods (such as `forEach()`). Fixes #32832 [1]: https://github.com/angular/angular/blob/fbad4ff65/aio/src/app/shared/toc.service.ts#L68 [2]: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach PR Close #32871