12 2020 档案
摘要:1.栈方法 push()从数组末尾添加例:arr = [ 1,2,3 ] arr.push(4) console.log(arr) // [1,2,3,4]pop()从数组末尾移除 例:arr = [ 1,2,3 ] arr.push() console.log(arr) // [1,2] 2.转换
阅读全文
摘要:新建分支 git branch 'xxx' 查看分支 git branch 上传项目到git git push origin 'xxx'
阅读全文
摘要:var obj = {}; setKeyAndValue(key,value){ obj[key]=value } setKeyAndValue("name","张三"); setKeyAndValue("age",18); console.log(obj.name)//"张三"
阅读全文

浙公网安备 33010602011771号