What would I change about programming language X?

As I’m continually interested in Programming language design, I find it interesting to inspect languages that I like and use often, and see what works and what doesn’t work for me.

This is a series of thought exercises to think through what I would (hypothetically) change.

To do: JavaScript, TypeScript, Lua, Python

Idea: A series on “What do I like about programming language X” would also be interesting and useful.

The rules

First of all: all proposed changes need to be justified. The justification doesn’t need to be thorough, but it needs to be there.

Furthermore, all proposed changes must work in a variety of situations:

Note last edited February 2022.
Backlinks: Programming language design.