MCPcopy Create free account
hub / github.com/nodejs/node / setBase

Function setBase

test/fixtures/wpt/url/resources/a-element.js:6–8  ·  view source on GitHub ↗
(base)

Source from the content-addressed store, hash-verified

4]).then((tests) => tests.flat()).then(runURLTests), "Loading data…");
5
6function setBase(base) {
7 document.getElementById("base").href = base;
8}
9
10function bURL(url, base) {
11 setBase(base);

Callers 1

bURLFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected