承台的保护层厚度:谁能帮我把这个VBSCRIPT的解密函数写成JAVASCRIIPT

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 07:41:08
Function decode(x)
x=replace(x,"%","")
for i=1 to len(x)
if asc(mid(x,i,1))>=72 then
x=replace(x,mid(x,i,1),"0")
end if
next
for i=1 to len(x) step 4
decode=decode& chr(int("&H" & mid(x,i,4)))
next
end Function
我郁闷ing...谁帮我改改啊。。
我就decode=decode& chr(int("&H" & mid(x,i,4))) 这段搞不懂