What can JavaScript do?

Its hard to convey purpose and capabilities of a deceptively simple programming language. This is a good start.

At a high level, JavaScript is a programming language used by your browser to interact with the content of a webpage. These interactions will typically include things that users can see but can affect other things – i.e., sending data back to the server without any indication of such activity.
What can JavaScript do?