第三十一到第三十三天:我是精明的小卖家(一)
日期 | 总用时 | 学习目标 |
---|---|---|
2018.08.27-2018.08.28 | 4h | 见下文 |
学习目标
- 实现一个 MIS 系统
学习内容
- 数组遍历
- 数组过滤
学习笔记
-
数组遍历
var array1 = ["a", "b", "c"]; array1.forEach(function(element) { console.log(element); });
-
数组过滤
var words = ["spray", "limit", "elite", "exuberant", "destruction", "present"]; const result = words.filter(word => word.length > 6); console.log(result); // expected output: Array ["exuberant", "destruction", "present"]
作业
- 精明小卖家(一)
待深入的知识
HTML,CSS,JavaScript
疑问
Flag
系统的学习前端,坚持 66 天