MCPcopy Create free account
hub / github.com/Moli-X/Resources / getParams

Function getParams

Script/Surge_Panel.js:73–80  ·  view source on GitHub ↗
(param)

Source from the content-addressed store, hash-verified

71}
72
73function getParams(param) {
74 return Object.fromEntries(
75 $argument
76 .split("&")
77 .map((item) => item.split("="))
78 .map(([k, v]) => [k, decodeURIComponent(v)])
79 );
80}

Callers 1

Surge_Panel.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected