2021年6月4日
摘要:
promise的使用 const util = require("util"); const fs = require("fs"); const path = require("path"); //获取你要写入的路径 const filePath = path.resolve(__dirname,"
阅读全文
posted @ 2021-06-04 20:02
谢晨锋
阅读(307)
推荐(0)
摘要:
const crypto = require("crypto"); /** * 参数讲解: * 加密数据 * data * 加密方式 * md5 sha1 sha256 sha512 * 加密形式 * 1.使用加密算法加密 * 2.获取密文中所有的数字 * 3.在数字当中,从第二位开始,获取10位数
阅读全文
posted @ 2021-06-04 18:31
谢晨锋
阅读(132)
推荐(0)
posted @ 2021-06-04 16:44
谢晨锋
阅读(180)
推荐(0)
2021年6月1日
摘要:
工作目录(Working Directory) 暂存区(Stage/Index) 本地仓库(Local Repository 或 Git Directory) 远程仓库(Remote Repository) git的本地仓库基本提交 - 初始化仓库: - git init 将本地文件夹转化成Git仓
阅读全文
posted @ 2021-06-01 18:34
谢晨锋
阅读(147)
推荐(0)
2021年5月28日
摘要:
 ## 1. 万能提示 `trigger suggest` 
推荐(0)
2021年5月27日
摘要:
<script> /** * 生成器函数,带参数 */ function * gun(arg){ console.log("***",arg); //*** AAA let one = yield "111"; console.log("***",one); //*** CCC let two =
阅读全文
posted @ 2021-05-27 14:03
谢晨锋
阅读(114)
推荐(0)
2021年5月21日
摘要:

阅读全文
posted @ 2021-05-21 18:23
谢晨锋
阅读(121)
推荐(0)
2021年5月20日
摘要:
#错误代码展示 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> div { width: 200px; height: 200px; background: #58
阅读全文
posted @ 2021-05-20 15:12
谢晨锋
阅读(173)
推荐(0)
摘要:
//箭头函数 function fn(n){ return n+n; } const fn = function (n){ return n+n; } let fn = (n)=>{ return n + n; } //注意只有一个参数 let fn = n=>{ return n+n; } //方
阅读全文
posted @ 2021-05-20 14:50
谢晨锋
阅读(107)
推荐(0)
2021年5月18日
摘要:
1.子节点对象与子元素的区别 * childNodes 子节点 * children 子元素 关于子节点对象 * 参考 https://www.cnblogs.com/Listener-wy/p/14735166.html 2.获取父节点和父元素: * JS: * 获取父节点 * parentNod
阅读全文
posted @ 2021-05-18 19:21
谢晨锋
阅读(229)
推荐(0)