Closed davisagli closed 1 year ago
This is the old "don't mutate a list while iterating over it" bug. Using Array.from creates a new list of the children which will not be mutated when the DOM is later modified.
This is the old "don't mutate a list while iterating over it" bug. Using Array.from creates a new list of the children which will not be mutated when the DOM is later modified.