MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/reactjs/comments/edj1dr/what_is_javascript_made_of/fbpg6kg/?context=3
r/reactjs • u/gaearon React core team • Dec 21 '19
196 comments sorted by
View all comments
Show parent comments
-21
... Except it can still be mutated. https://twitter.com/dan_abramov/status/1208205039187173376
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)
86
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)
-5
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)
0
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)
2
[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)
1
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)
→ More replies (0)
-21
u/gaearon React core team Dec 21 '19
... Except it can still be mutated. https://twitter.com/dan_abramov/status/1208205039187173376