MCPcopy
hub / github.com/slevithan/xregexp / log

Function log

tests/perf/perf.js:15–17  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

13 XRegExp.exec = XRegExp.exec || XRegExp.execAt;
14
15 function log(msg) {
16 outputBox.insertAdjacentHTML('beforeend', msg.replace(/\n/g, '<br>'));
17 }
18 function scrollToEnd() {
19 window.scroll(0, document.body.scrollHeight);
20 }

Callers 1

perf.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected