Happy birthday to the language built in ten days and debugged for thirty-one years.
var self = this; button.onclick = function() { self.count++; };
getUser(function(u) { getCake(u, function(c) { light(c, function() { sing(); // help }); }); });
var el = document.getElementById("msg"); el.innerHTML = "Happy " + age + " birthday, " + name + "!";
Pages stopped being documents and started being conversations.
Gmail, Figma, Notion — whole desktop apps living in a tab.
Node made JS a backend language and full-stack a one-language job.
React Native and Electron ship JS to phones and laptops alike.
Canvas, WebGL and WebGPU turned the browser into a console.
Models now run locally on the GPU, orchestrated by... JavaScript.
Every 31-year-old has quirks. Here are some of JavaScript's, lovingly preserved for backwards compatibility.
undefined — be the first to sign.