DEV Community


Discussion on: Easy functional programming techniques in TypeScript for everyone

juliang profile image
Julian Garamendy

Hi! It may be worth mentioning that
"TypeScript comes with a ReadonlyArray type that is the same as Array with all mutating methods removed, so you can make sure you don’t change your arrays after creation"

deepu105 profile image
Deepu K Sasidharan Author

Oh yes, I completely forgot about those