to answer questions about increasing the length & using negative values:
11 comments
@lily arrays and objects do this in js yes. what const means is you cannot change it with the = statement. you can push to an array, pop elements off, you can access properties of objects and methods on them and change all of them- but you cant go and do @h @lily yeah the indices are all treated as strings (but optimised internally). by the spec arrays are "exotic objects", which means their impl can do weird things ( also fun fact most array methods dont actually require an array, so you can do |
@h@social.besties.house what if you use floats? :blobcatthinkowo: