DEV Community

Discussion on: 🦀 Rust for JS developers

Collapse
 
chipp972 profile image
Nicolas Pierre-Charles

Good article. I want to learn some Rust now.

Just to say, const keyword in javascript does not define an immutable variable. It is just not reassignable.
You can totally mutate an array or object even if you declare it in a const.