rockerest’s Twitter Archive
—№ 17,495
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @ErichRahm
ErichRahm
kwamaking
Const isn't immutable for ANY right hand assignment. The only thing const does is disallow reassignment of the same memory binding. Chrome allows you to reassign the binding, the only thing that const is ostensibly good for.
Permalink
On twitter.com
❤️ 1
Favorite
2021 Oct 1
Mood +
3
🙂
…in reply to @rockerest
ErichRahm
kwamaking
This misunderstanding is partially why const should be removed from the language.
log.rockerest.com/post/stop-writing-inhuman-const.html
On twitter.com
2021 Oct 1
Mood
-2
🙁
…in reply to @rockerest
ErichRahm
kwamaking
Sorry, to be clear it's the Chrome CONSOLE that allows reassignment, not the V8 engine.
Permalink
On twitter.com
2021 Oct 1
Mood
0