Closed foollbar closed 7 years ago
Does toArray
return a live array? i.e. if the DOM gets updated after calling toArray
, will the result change, or is it safe to assume this returns an immutable snapshot?
I'll add this in the next release, creating a copy of the array to be safe. Thanks!
I'm not sure whether it is proper type declaration for toArray. but this may facilitates following.