Is there an arraylist in Javascript?

just use array.push(); This will add another item to it. To take one off, use array.pop(); Link to JavaScript arrays: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

what does .space do in mips?

.space Len directive instructs the assembler to reserve Len bytes. As every word has 4 bytes, when Len is 20 you are instructing the assembler to reserve 5 words. For example if you have then other_data will be 20 bytes after array address. Due to architectural constraints in MIPS you may need to also instruct the assembler to align the … Read more