兵兵有你

人品好,气质差.丢了工作就回家...

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年9月22日

摘要: JS去掉字符串首尾前后的一个或多个逗号 rps.replace(/^,+/, '').replace(/,+$/, '') 1.数据类型:null和undefined区别? undefined是指原生类型没有定义,而null是指对象没定义. 2.数组声明:['a',3,'hello',true]; 阅读全文
posted @ 2017-09-22 16:33 greatbing 阅读(124) 评论(0) 推荐(0) 编辑