JavaScript
文章平均质量分 74
Achenz
Fate is not destiny, the destiny is determined by the people themselves.
展开
-
Node版本管理 Windows and mac OS
node原创 2022-07-19 11:28:08 · 909 阅读 · 1 评论 -
JS深浅拷贝
现象 我们先来看一个demo 例子: 基本类型: // 神明一个变量 str1 // 声明变量 str2 赋值于 str1 // 对 str2 进行修改 let str1 = 'str1'; let str2 = str1; str2 += 'xxxx'; console.log('str1 = ', str1); // str1 console.log('str2 = ', str2); // str1xxxx原创 2021-08-03 16:36:27 · 89 阅读 · 0 评论