Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera115855y@yellow-dog const do mean const, just not readonly or recursively.
You would not be able to do (as far as I know, cannot test right now)
json = {value:1} as that would change what json points to.
Related Rants
const json = {key: 0}
json.key=1
console.log(json);
>>> {key: 1}
I just wasted ages debugging that
rant
json
js