Skip to content

JavaScript Basics Glossary

8 essential terms — because precise language is the foundation of clear thinking in JavaScript Basics.

Showing 8 of 8 terms

A concise function syntax using => notation. Commonly used as callbacks. Has different 'this' binding behavior compared to traditional functions.

Related:FunctionCallbackES6

A function passed as an argument to another function, to be executed later. Common in event listeners, array methods, and asynchronous operations.

Related:Arrow FunctionaddEventListenerPromise

The browser's tree-structured representation of an HTML document. JavaScript interacts with the DOM to dynamically change page content, structure, and styles.

Related:querySelectorcreateElementEvent

An action that occurs in the browser (click, scroll, keypress, form submit) that JavaScript can detect and respond to using event listeners.

Related:addEventListenerCallbackEvent Handler

A modern JavaScript interface for making HTTP requests to servers. Returns a Promise that resolves to a Response object.

Related:Promiseasync/awaitAPI

An object representing the eventual completion or failure of an asynchronous operation. Has three states: pending, fulfilled, and rejected.

Related:async/awaitFetch APICallback

A string delimited by backticks (`) that allows embedded expressions (${expression}) and multi-line strings. Introduced in ES6.

Related:StringES6Interpolation

JavaScript's automatic conversion of one data type to another during comparisons or operations. Can cause unexpected results, which is why === is preferred over ==.

Related:Strict EqualityLoose EqualityData Types
JavaScript Basics Glossary - Key Terms & Definitions | PiqCue