DEV Community

Discussion on: Confused by JavaScript's const? Me too!

remotesynth profile image
Brian Rinaldi Author

Thanks. Yes, I didn't bring them up because I thought it might sidetrack the discussion of const a bit but if immutability really matters for what you are doing, then definitely.

georgecoldham profile image

I had always assumed they were immutable, was shocked to find they weren't.

The immutability was the key reason I started to use them.