The Text() constructor returns a new Text object with the optional string given in parameter as its textual content.
new Text()
new Text(string)string OptionalA string representing the textual content of the text node.
A new Text object with the content of the string parameter, or the empty string if no parameter was given.
let text = new Text("Test");