JavaScript is an interpreted computer programming language. Use this tag for any *on-topic* question that (a) involves JavaScript either as a critical part of the question or expected answer, & (b) is not *just* about how to use JavaScript.

JavaScript (JS) is an interpreted computer programming language. As part of web browsers, implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. It has also become common in server-side programming, game development and the creation of desktop applications. [Wikipedia]

Code Language (used for syntax highlighting): lang-js