JS常见单词的语义

fn 函数 (url {} )  ()里面是参数,()前面是执行的函数方法

request  发送请求

concat  拼接,连接

return 2 == this.config.checkSign ? this.newCheckSignRequest(t, e) : this.checkSignRequest(t, e)  

三元表达式,鼠标划上去 2 == this.config.checkSign 看是 false

对的允许 this.newCheckSignRequest(t, e) ,不对允许  this.checkSignRequest(t, e) ,

(Object(r["a"])  python 里的 updata

for (var c in r.sort(),  把 r 排序  py  arr.sort()

n = "".concat(n).concat(0 === a ? "" : "&").concat(r[c]), a++;  concat  拼接,连接  py  result = ''&''.join(arr)

var o = md5("".concat(n, "&key=").concat(e));  py  result += "&key="+appSect

appSecret: "5dd20b08158402032845b45f5b67a349",  js橙色字的意思是写什么是什么

compile  加载

ctx.call  调用ctx函数

console.log(s(data))  调用s函数,传入data参数

a.a.decode(e)  改成一个函数 decode123(e)

把decode: function(t)方法改成function decode123(t)

var f = '/[\t\n\f\r ]/g'      #声明f

window = global;

posted @ 2023-02-11 23:29  严永富  阅读(15)  评论(0)    收藏  举报