Update TypeScript style (Chapter of Array and Linkedlist)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Author: Justin (xiefahit@gmail.com)
|
||||
*/
|
||||
|
||||
// 列表类
|
||||
/* 列表类简易实现 */
|
||||
class MyList {
|
||||
private nums: Array<number>; // 数组(存储列表元素)
|
||||
private _capacity: number = 10; // 列表容量
|
||||
|
Reference in New Issue
Block a user