kotlin-stdlib / org.w3c.dom / Document / createTextNode createTextNode JS 1.1 fun createTextNode ( data : String ) : Text (source)