会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
be_win
博客园
首页
新随笔
联系
订阅
管理
2021年7月13日
javascript中的this,call,apply,bind
摘要: (一):this 1:在javascript中this指的就是函数运行时所在的上下文(即函数的运行环境); var name = '张三'; var obj = { name: '法外狂徒', action: function () { console.log(this.name + '的行为!')
阅读全文
posted @ 2021-07-13 23:27 be_win
阅读(83)
评论(0)
推荐(0)
2020年3月30日
js排序(冒泡,快排,sort)
摘要: 一:冒泡排序 let arr = [25,36,21,66,77,33,17,120,999,1,100,356]; function babelSort(arr) { let temNum = 0; for(let i=0;i<arr.length-1;i++){ for(let j=0;j<ar
阅读全文
posted @ 2020-03-30 10:41 be_win
阅读(371)
评论(0)
推荐(0)
2019年12月10日
Vue(一) vue-cli4.x快速搭建项目
摘要: 一:基础环境配置 (1)首先要下载node( https://nodejs.org/zh-cn/download/ ); (2)打开终端输入: node --version npm --version (3)若能显示出版本号就说明已经安装ok; (4)安装脚手架(vue-cli) npm insta
阅读全文
posted @ 2019-12-10 11:41 be_win
阅读(18255)
评论(0)
推荐(0)
2019年12月9日
js数组
摘要: 一:数组的声明 (1) 构造函数声明数组: let arr = new Array(); //构造函数声明数组 arr[0] = '侯宝文'; console.log(arr); // ["侯宝文"] console.log(arr.__proto__); //构造函数的原型对象(可以看到内置的AP
阅读全文
posted @ 2019-12-09 15:24 be_win
阅读(250)
评论(0)
推荐(0)
2019年12月4日
git入门
摘要: 一:git下载安装 (1): 下载地址:“http://git-scm.com/downloads"。 (2): 配置名字和邮箱。 git config --global user.name "name"。 git config --global user.email "email"。 二:将新建项
阅读全文
posted @ 2019-12-04 11:36 be_win
阅读(91)
评论(0)
推荐(0)
公告