自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 js的Date 和 Math对象

Date // Date 对象 // 创建 // 使用Date()函数 console.log(Date()) console.log(typeof Date()) // string // 使用对象 console.log(new Date()) console.log(typeof new Date()) // object // 使用字符串 console.log(new Date('...

2019-04-27 11:23:32 119

原创 Js字符串常用方法

aaa目录简介字符串的== , ===str.charAt(index)str.toLowerCase()/toUpperCase()str.indexOf(str, startIndex)/lastIndexOf(str, startIndex)str.replace(oldStr, newStr)str.substring(startIndex, endIndex)str.substr(sta...

2019-04-27 11:20:26 166

原创 Js数组常用方法

Js数组常用方法目录数组的遍历数组点长度,添加和删除元素array.join(str)array.reverse()array.slice(startIndex, endIndex) 目录 数组的遍历 // 数组的遍历 var a =1 // for in for (let i in [1, 2, 3, 4]) { console.log(i) } // forEach [1, 2, 3...

2019-04-27 10:39:13 257

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除