MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / int2str

Function int2str

webarena/browser_env/scripts/get_data.js:2–9  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

1(packet) => {
2 function int2str(index) {
3 var str = "";
4 while (index >= 0) {
5 str = String.fromCharCode(65 + index % 26) + str;
6 index = Math.floor(index / 26) - 1;
7 }
8 return str;
9 };
10
11 selector = packet.selector
12 index = packet.startIndex

Callers 1

get_data.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected