{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What is the difference between JavaScript and Java?", "acceptedAnswer": { "@type": "Answer", "text": "Completely different languages — sharing only a name. JS is a scripting language; Java is a compiled OOP language." } }, { "@type": "Question", "name": "What is vanilla JS?", "acceptedAnswer": { "@type": "Answer", "text": "Plain JavaScript without any framework or library — just native browser APIs." } }, { "@type": "Question", "name": "How does JavaScript affect page speed?", "acceptedAnswer": { "@type": "Answer", "text": "Large JS bundles increase load time; code splitting and lazy loading are essential optimisations." } } ] }
Definition

What Is JavaScript and What Is It Used For?

A programming language that runs in browsers (and on servers via Node.js) to add interactivity, dynamic behaviour, and complex functionality to websites.

Related Terms

Example

JavaScript powers the interactive product demo animation on Reload Mode's homepage, responding to scroll position to reveal features.

Synonyms:

JS, ECMAScript, Frontend scripting

Acronyms:

JS