LarpixClient/electron/node_modules/@peculiar/asn1-schema/build/es2015/objects.js
2026-07-09 22:38:33 +02:00

13 lines
286 B
JavaScript

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