- 博客(3)
- 收藏
- 关注
原创 判断数据类型的方法
记录一下最近工作中用到的const str = "";const bool = true;const num = 10;const nul = null;const und = undefined;const arr = new Array(6);const fun = ()=>{console.log(arr);};const obj = new Object();console.log("------以下是是基础数据类型------")console.log(Object.
2022-01-11 17:56:59
101
1
原创 时间管理大师之js时间方法,偏原生,以后遇到相关的也搞上来
用于echarts图(function(){ let y = new Date().getFullYear(),s = 0,d = []; for(let i = 0;i<12;i++){ s += new Date(y,i,0).getDate(); for(let v = 0;v < new Date(y,i+1,0).getDate();v++){
2021-04-01 09:46:33
143
原创 第一次发文...前端小白js实现时钟+渐变色
直接上代码:静态特别简单<div class="outest"> <span></span>月 <span></span>日 <span></span>时 <span></span>分 <span></span>秒</div>上个样式: * { box-sizing: content-box;
2020-12-30 19:08:34
232
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人