Interview Question

What is JavaScript?

JavaScript is the language; ECMAScript specifies its core syntax and behavior.

💡 Concept ✅ Quick Revision ⚡ JavaScript

Answer

JavaScript is a programming language whose standardized language specification is ECMAScript. • It supports imperative, functional, and object-oriented programming styles. • Web browsers combine the language with host APIs such as the DOM and Fetch. • JavaScript also runs in non-browser hosts, which provide different APIs.

Example

Code
const message = 'Hello, JavaScript';
console.log(message);
Output
Hello, JavaScript

Quick Revision

JavaScript is the language; ECMAScript specifies its core syntax and behavior.