This website requires JavaScript.
Explore
Help
Register
Sign In
rou
/
front-end-example
Watch
1
Star
0
Fork
0
You've already forked front-end-example
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
main
front-end-example
/
05-es6-plus
/
04-modules-basic
History
rou
1071f4db05
update
2026-03-23 14:56:04 +08:00
..
answer.html
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
answer.js
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
course-data.js
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
README.md
update
2026-03-23 14:56:04 +08:00
starter.html
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
starter.js
update
2026-03-23 14:56:04 +08:00
README.md
Unescape
Escape
练习 4
:
模块基础
目标
学会用
export
和
import
把不同文件连起来。
你要练什么
export
import
type="module"
任务
从模块文件里导入课程数据和格式化函数
把结果渲染到页面
文件
starter.html
starter.js
course-data.js
answer.html
answer.js