Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
laurencerowe
on Sept 19, 2019
|
parent
|
context
|
favorite
| on:
Python proposal: add immutable (persistent) dictio...
A const declaration only ensures that the variable always points to the same object, not that that object is immutable. For instance in JS:
const foo = {};
foo.bar = 1;
snrji
on Sept 21, 2019
[–]
That depends on the language.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
const foo = {};
foo.bar = 1;