Files
front-end-example/03-javascript-core/08-built-in-methods/starter.js
charlie 877acb5a8f feat: Add JavaScript core exercises and solutions
- Implemented exercises for array high-order methods, memory and execution, switch statements, and final review.
- Added starter and answer files for each exercise to facilitate learning.
- Created a runner HTML file to execute JavaScript code and display console outputs.
- Updated README files to include exercise objectives, tasks, and usage instructions.
2026-03-13 11:09:19 +08:00

9 lines
224 B
JavaScript

const rawTitle = " js 核心练习 ";
const tags = ["变量", "条件", "函数"];
// 任务:
// 1. 去掉 rawTitle 两端空格
// 2. 转成大写
// 3. 判断是否包含 JS
// 4. 把 tags 用顿号连接成一句话