Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prototypejs/prototype
/ createParagraph
Function
createParagraph
test/unit/tests/dom.test.js:24–28 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
22
}
23
24
function
createParagraph (text) {
25
var
p = document.createElement(
'p'
);
26
p.appendChild(document.createTextNode(text));
27
return
p;
28
}
29
30
var
RESIZE_DISABLED = false;
31
Callers
1
dom.test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected