How to get an offline documentation?

How to get an offline documentation?
For example, JavaScript offline documentation.

You can use DevDocs

It’s up-to-date and works offline out-of-the-box.

See also: https://stackoverflow.com/questions/9501882/mdn-javascript-docs-for-offline-use