mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
BigArray in code
This commit is contained in:
@@ -26,8 +26,10 @@ class _BigArray {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
push (element) {
|
||||
this.setElement (this.length, element);
|
||||
push () {
|
||||
for (let i=0; i<arguments.length; i++) {
|
||||
this.setElement (this.length, arguments[i]);
|
||||
}
|
||||
}
|
||||
getElement(idx) {
|
||||
idx = parseInt(idx);
|
||||
|
||||
Reference in New Issue
Block a user