diff --git a/codes/typescript/chapter_array_and_linkedlist/my_list.ts b/codes/typescript/chapter_array_and_linkedlist/my_list.ts index e2b6c00..b2ce468 100644 --- a/codes/typescript/chapter_array_and_linkedlist/my_list.ts +++ b/codes/typescript/chapter_array_and_linkedlist/my_list.ts @@ -4,7 +4,7 @@ * Author: Justin (xiefahit@gmail.com) */ -// 列表类 +/* 列表类简易实现 */ class MyList { private nums: Array; // 数组(存储列表元素) private _capacity: number = 10; // 列表容量