add:react入门介绍

This commit is contained in:
qianguyihao
2019-02-08 20:10:20 +08:00
parent 96b58c88bb
commit 766e865455
55 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
```
var arr = [1, 2, 3];
fun(arr);
console.log(arr);
function fun(a) {
a = [];
}
```
上方代码的打印结果是:[1,2,3]