const learningStatus = "review"; const records = ["变量", "条件", "函数", null, "对象"]; let optionalNote; const finalComment = null; let statusText = ""; const finishedRecords = []; // 任务: // 1. 用 switch 给 learningStatus 生成说明文字 // 2. 输出 optionalNote 和 finalComment 分别是什么 // 3. 用 for 循环读取 records // 4. 如果遇到 undefined 或 null,就 break // 5. 输出 finishedRecords