DEV Community

loading...

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

Collapse
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.

Collapse
georgecoldham profile image
George

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.