MCPcopy
hub / github.com/librespeed/speedtest / url_sep

Function url_sep

speedtest_worker.js:78–80  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

76 this function is used on URLs passed in the settings to determine whether we need a ? or an & as a separator
77*/
78function url_sep(url) {
79 return url.match(/\?/) ? "&" : "?";
80}
81
82/*
83 listener for commands from main thread to this worker.

Callers 5

getIpFunction · 0.85
dlTestFunction · 0.85
ulTestFunction · 0.85
pingTestFunction · 0.85
sendTelemetryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected