Update TypeScript style (Chapter of Array and Linkedlist)

pull/88/head
justin 2022-12-12 00:19:01 +08:00
parent 7c70b3c760
commit 4118e799a0
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* Author: Justin (xiefahit@gmail.com)
*/
// 列表类
/* 列表类简易实现 */
class MyList {
private nums: Array<number>; // 数组(存储列表元素)
private _capacity: number = 10; // 列表容量