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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
.