BadGirl_Xiao

导航

2017年7月16日 #

Vue.js系列之项目搭建

摘要: 项目搭建具体步骤如下: 1.安装node (中)https://nodejs.org/zh-cn/ (英)https://nodejs.org/en/ 2.安装cnpm镜像 (node自带安装了npm,故不再安装) $ npm install -g cnpm --registry=https://r 阅读全文

posted @ 2017-07-16 18:11 BadGirl_Xiao 阅读(224) 评论(0) 推荐(0)

JS 数组常用的方法

摘要: 数组常用的方法: x.toString()方法:任何对象都有toString方法。 将任何对象转为字符串。 一般不主动调用,系统在需要时自动调用 x.valueOf()方法:同toString() 基本完全一样。 var str = arr.join("分隔符"):将数组转为字符串。但是可以自定义分 阅读全文

posted @ 2017-07-16 16:22 BadGirl_Xiao 阅读(181) 评论(0) 推荐(0)

JS 冒泡排序法 输出最大值

摘要: 比较大小 封装成函数 可调用 阅读全文

posted @ 2017-07-16 15:14 BadGirl_Xiao 阅读(542) 评论(0) 推荐(0)