Which declaration should I use for local variables, and does const make an object immutable?

Find answers to your programming questions.
Which declaration should I use for local variables, and does const make an object immutable?
A normal non-merge commit caused a regression on a shared branch. Other developers have already pulled it. How can its changes be reversed without rewriting the
An application declares dependson: [db], but its initial MySQL connection sometimes fails. Restarting the app later works. How can Compose wait for readiness, a
A questions query filters by authorId, sorts by createdAt DESC, and returns 20 rows. Would an index on (authorId, createdAt) help? Would the same index be equal
A dashboard uses grid-template-columns: 240px 1fr. A long line inside a forces horizontal page scrolling. How can the main column shrink while allowing the code
A page loads /api/questions using fetch inside a try/catch block. A 404 response does not enter catch unless JSON parsing also fails. How should HTTP errors be
An API client uses (await response.json()) as Profile, where Profile contains a string username. If the server returns { "username": null }, does TypeScript pre
An App Router page reads questions from MySQL and displays an interactive filter. The filter uses state, but the database client must remain on the server. Shou