(child)
| 888 | // MathML, but polyfills for subclassing is expensive per PR 1469. |
| 889 | // $FlowFixMe: Only works for ChildType = MathDomNode. |
| 890 | var toText = function toText(child) { |
| 891 | return child.toText(); |
| 892 | }; |
| 893 | |
| 894 | return this.children.map(toText).join(""); |
| 895 | }; |