Programming Language


JavaScript (programminglanguage)
Full NameJavaScript ECMAScript
Short NameJavaScript
DescriptionHigh-level, interpreted scripting language that conforms to the ECMAScript specification

What is JavaScript?

JavaScript is a programming language that is commonly used to create interactive web pages and web applications. It can be used to add dynamic functionality to HTML and CSS-based web pages, and can also be used on the server-side with Node.js.

What are some features of JavaScript?

JavaScript is a dynamic, object-oriented language that includes features such as first-class functions, closures, and prototypes. It also includes built-in support for arrays, regular expressions, and JSON (JavaScript Object Notation).

How is JavaScript used in web development?

JavaScript is commonly used in web development to add interactivity and dynamic functionality to web pages. It can be used to validate form inputs, create animations, update page content without reloading the page, and interact with APIs and databases.

What are some popular JavaScript frameworks and libraries?

Some popular JavaScript frameworks and libraries include React, Angular, Vue.js, jQuery, and Node.js.

What is the difference between JavaScript and Java?

JavaScript and Java are two different programming languages that are used for different purposes. Java is a general-purpose programming language that is commonly used for building desktop and server-side applications, while JavaScript is a client-side scripting language that is used to add interactivity and dynamic functionality to web pages.

What is asynchronous programming in JavaScript?

Asynchronous programming in JavaScript allows for non-blocking code execution, which means that code can continue to execute while waiting for an operation (such as an API call) to complete. This is typically achieved using callbacks, promises, or async/await functions.

Can JavaScript be used on the server-side?

Yes, JavaScript can be used on the server-side with Node.js, which is a runtime environment that allows JavaScript to be executed outside of the browser. This allows for the development of server-side applications using JavaScript.

Snippet from Wikipedia: JavaScript

JavaScript (), often abbreviated as JS, is a programming language and core technology of the Web, alongside HTML and CSS. 99% of websites use JavaScript on the client side for webpage behavior.

Web browsers have a dedicated JavaScript engine that executes the client code. These engines are also utilized in some servers and a variety of apps. The most popular runtime system for non-browser usage is Node.js.

JavaScript is a high-level, often just-in-time compiled language that conforms to the ECMAScript standard. It has dynamic typing, prototype-based object-orientation, and first-class functions. It is multi-paradigm, supporting event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).

The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O.

Although Java and JavaScript are similar in name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design.

GitHub Topics

JavaScript (JS) is a lightweight interpreted or JIT-compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.

GitHub Collections

While the number of ways to organize JavaScript is almost infinite, here are some tools that help you build single-page applications.

95% of websites use JavaScript

According to the reports of Internet Live Stats, there are more than 1.7 billion websites across the globe, and JavaScript is used by about 95 percent of them.

document.write('Hello, World!');

alert('Hello, world!');

print('Hello, world!');

WScript.Echo('Hello, world!');

console.log('Hello, world!');

Source: Wikibooks

## ToDo ##

  • Variables
  • Functions
  • Objects
  • Arrays
  • DOM (Document Object Model)
  • Events
  • Callbacks
  • Promises
  • Async/Await
  • Modules
  • Classes
  • Inheritance
  • Prototypes
  • Closure
  • ES6/ES2015
  • Regular Expressions
  • JSON (JavaScript Object Notation)
  • AJAX (Asynchronous JavaScript and XML)
  • Node.js
  • React
  • Vue.js
  • Angular

See also: Programming Languages

  • dev/javascript.txt
  • Last modified: 2023/05/01 17:24
  • by Henrik Yllemo