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

Function simplify

Sub-Store/Script/Rename.js:139–146  ·  view source on GitHub ↗
(cc)

Source from the content-addressed store, hash-verified

137}
138
139function simplify(cc) {
140 let str = '';
141 for (let i = 0; i < cc.length; i++) {
142 if (ftPYStr().indexOf(cc.charAt(i)) !== -1) str += charPYStr().charAt(ftPYStr().indexOf(cc.charAt(i)));
143 else str += cc.charAt(i);
144 }
145 return str;
146}
147
148// 主函数
149function operator(proxies) {

Callers 1

operatorFunction · 0.70

Calls 3

ftPYStrFunction · 0.70
charPYStrFunction · 0.70
indexOfMethod · 0.45

Tested by

no test coverage detected