The “const” keyword in JavaScript is used to create constants, variables that can't change. Curiously, though, we do seem to be able to edit objects and arrays that are created using “const”. In this tutorial, we're going to dig into the incredibly-important distinction between “assignment” and “mutation” in JavaScript.
Frontend
Source:https://www.joshwcomeau.com/javascript/the-const-deception/
The “const” Deception
Josh Comeau0 views
PreviousJohn Ternus writes post celebrating Steve Jobs on anniversary of passingNextThe End of Front-End Development
Related posts
Adding AdSense to a static Vercel site without throwing away your Content-Security-Policy
0dev.to Security

TanStack Table vs ReUI: picking a React data grid for a shadcn app
0dev.to React

Amended S-1: Anthropic says it has purchase commitments and lease agreements of $895.4B, "substantially all of which is related to compute and infrastructure" (Ashley Capoot/CNBC)
0Techmeme
Tim Smiley: An Anecdote
0Hacker News New
Show HN: Modern CSS Quiz
0Hacker News Show
Show HN: Garrul – Comments system for your site on a single Cloudflare Worker
0Hacker News Show