Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ create_comment
Function
create_comment
packages/svelte/src/internal/client/dom/operations.js:267–269 ·
view source on GitHub ↗
(data = '')
Source
from the content-addressed store, hash-verified
265
* @returns
266
*/
267
export
function
create_comment(data =
''
) {
268
return
document.createComment(data);
269
}
270
271
/**
272
* @param {Element} element
Callers
2
fragment_from_tree
Function · 0.90
customizable_select
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected