Spaces:
Sleeping
Sleeping
| export class AsnArray extends Array { | |
| constructor(items = []) { | |
| if (typeof items === "number") { | |
| super(items); | |
| } | |
| else { | |
| super(); | |
| for (const item of items) { | |
| this.push(item); | |
| } | |
| } | |
| } | |
| } | |
| export class AsnArray extends Array { | |
| constructor(items = []) { | |
| if (typeof items === "number") { | |
| super(items); | |
| } | |
| else { | |
| super(); | |
| for (const item of items) { | |
| this.push(item); | |
| } | |
| } | |
| } | |
| } | |