$ whois javascript
JavaScript
first released in 1995 · by Brendan Eich
$ guessprog --inspect javascript
- year
- 1995
- paradigm
- multi paradigm
- family
- c like
- memory
- automatic gc
- binding
- dynamic
- safety
- weak
JAVASCRIPT(7)
- AUTHORS
- Brendan Eich
- HISTORY
- Brendan Eich created JavaScript at Netscape in May 1995, writing the first prototype in about ten days. Netscape wanted a lightweight scripting language for its Navigator browser that would appeal to non-professional programmers. Called Mocha and then LiveScript, it was renamed JavaScript as a marketing move to ride Java's popularity, although the two languages are unrelated. It was standardised as ECMAScript in 1997 and has evolved steadily since.
- USAGE
- The most widely used programming language in the world and the only one built into every web browser. Through Node.js and other runtimes it is also used for servers, tooling, desktop and mobile apps.
- SEE ALSO
- JavaScript on Wikipedia ↗
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
async function countdown(from) {
for (let i = from; i > 0; i--) {
console.log(i);
await sleep(1000);
}
return "liftoff!";
}
countdown(3).then(console.log);
// The infamous type coercion rules
console.log([] + {}, 1 + "1", "3" * "4", 0.1 + 0.2);