Simplify VIMX training docs and remove extra file

Restructure the training guide into focused tasks with warmed-up
basics and updated exercises, and drop practice2.ts from the
project tree.
This commit is contained in:
2026-09-09 20:39:39 +08:00
parent bd597bba31
commit 1d19448cf2
5 changed files with 176 additions and 408 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ function getUserNames(list: any[]) {
}
function getAdultUsers(list: any[]) {
return list.filter((u) => u.age < 18); // ← 问题 3:条件写反了,应该是 >= 18
return list.filter((u) => u.age >= 18);
}
console.log("debug: users =", users); // ← 问题 1:调试残留,上线前删掉