This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Arrays Forum

View Course » View Exercise

47 points
599467da31a57e2f28e6830a2190e0bd?s=140&d=retro
Submitted by
anthocar
over 2 years ago

What is the purpose of changing output or deleting arrays?

I get how to do it, but what I don't know is why?

Why wouldn't I just go back to the array and modify the code within the actual brackets. This seems like a bunch of extra work for nothing...what's the advantage?


0 votes

permalink

Dynamic code, you want don't want to fiddle arround in the hardcoded stuff everytime

450 points
5240e713abf821aa28001257_703076796
Submitted by
Robinvb
over 2 years ago