摘要: 1. 全局安装create-react-app npm install -g create-react-app 2. 创建新项目 create-react-app my-app 3. cd my-app 进入项目目录后,ls命令查看目录下的文件列表 4. 安装redux npm install re 阅读全文
posted @ 2020-12-21 22:26 Viola_left 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 数组下标使用字符串,控制台输入代码 var array = []; array["a"] = "hello"; array["b"] = "world"; array["c"] = "yes"; console.log("length: " + array.length); 控制台输出 此基础上输出 阅读全文
posted @ 2020-12-21 17:13 Viola_left 阅读(726) 评论(0) 推荐(0) 编辑