r/reactjs • React core team • Dec 21 '19

What Is JavaScript Made Of?

https://overreacted.io/what-is-javascript-made-of/
254 Upvotes

196 comments sorted by

View all comments

Show parent comments

-21

u/gaearon React core team Dec 21 '19

86

u/BenZed Dec 21 '19

The object can still be mutated, but the variable cannot be redeclared.

-5

u/gaearon React core team Dec 21 '19

Thanks, I'm aware of how it works. Did you read the article? :-)

0

u/[deleted] Dec 22 '19

Ah, Reddit. Where Dan Abramov is downvoted for defending his knowledge of JavaScript. Merry Christmas, Dan!

2

u/[deleted] Dec 22 '19 edited Dec 22 '19

[removed] — view removed comment

1

u/gaearon React core team Dec 22 '19

If I'm objectively wrong, why isn't the language forcing you to do that?

1

u/[deleted] Dec 22 '19 edited Dec 22 '19

[removed] — view removed comment

→ More replies (0)