toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.dom
/
Document
/
createComment
create
Comment
fun
createComment
(
data
:
String
)
:
Comment
(
source
)
Creates a comment object with the specified data.
Parameters
data
Sets the comment object's data.
MDN Reference