one fable-low hijack cell
pair javascript / rehabilitate
envelope en_pipe
ordering AB
effort low
English with pipe '|' — '{X} | {Y}'
verdictpicked javascript (first-offered)
· classifierA
· tiernone
response (200 chars)
# Rehabilitating Legacy JavaScript 🔧
"Rehabilitating" old JS code usually means modernizing it safely. Here's a practical guide:
## Common Fixes
**1. `var` → `const`/`let`**
```js
// Before
var nam
neighbors