摘要: 问题: 有一个列表[11, 2, 3, 3, 7, 9, 11, 2],去重并且保持原来的顺序。 阅读全文
posted @ 2018-12-17 10:36 大西瓜Paul 阅读(132) 评论(0) 推荐(0) 编辑
摘要: parseInt("111") // 111 typeof parseInt("111") // “number” parseFloat("11.11") //11.11 typeof parseFloat("11.11") // “number” parseInt("abc") // NaN (NaN表示我这个值不是数字,但是还是属于数字number类型) typeof parseInt(... 阅读全文
posted @ 2018-12-17 10:00 大西瓜Paul 阅读(640) 评论(0) 推荐(0) 编辑
/*增加返回顶部按钮*/ 返回顶部 /*给标题增加蓝色背景长条*/