Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / JavaScript

Knowledge base — JavaScript

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 1003

JavaScript

IDBIndex — querying an IndexedDB index

IDBIndex exposes object-store records through a secondary key. Compare array retrieval with getAll() against cursor iteration with openCursor(), and distinguish index keys from primary keys.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IDBKeyRange — IndexedDB key ranges

IDBKeyRange describes a range of keys for IndexedDB queries. The only method selects one key, while bound defines an interval whose endpoints can optionally be excluded.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IDBObjectStore — an IndexedDB record store

IDBObjectStore exposes IndexedDB records through a transaction-bound handle. It supports adding, replacing, reading, deleting, and counting data, as well as accessing secondary indexes.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IDBOpenDBRequest — opening and upgrading an IndexedDB database

IDBOpenDBRequest represents an asynchronous request to open or delete an IndexedDB database. It exposes schema upgrades, blocking by other connections, and operation completion through events. It is neither a database connection nor a Promise.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IDBRequest — an IndexedDB operation result

IDBRequest exposes the result or error of an asynchronous IndexedDB operation through events. A successful request does not yet mean that the whole transaction has committed.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IDBTransaction — an IndexedDB transaction

IDBTransaction groups IndexedDB operations so that changes commit together or roll back. Learn about object-store scope, the complete event, cancellation with abort(), and the error property.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IDBVersionChangeEvent.oldVersion — the previous IndexedDB database version

The IDBVersionChangeEvent.oldVersion property exposes the previous version number of an IndexedDB database. In an upgradeneeded event, it helps select the required migrations; 0 means that the database did not previously exist.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IdleDeadline — an idle callback's time budget

IdleDeadline is the object passed to a requestIdleCallback() callback. It exposes the estimated remaining time and indicates whether the callback ran because its timeout expired.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Image — creating an image element

Image creates an HTMLImageElement outside the document tree. Optional arguments set dimensions but neither load an image nor resize its file.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

ImageData.data — reading and modifying RGBA pixels

ImageData holds a rectangular area of pixels. Its ImageData.data property exposes a one-dimensional array of RGBA channels: its elements can be changed even though the property itself is read-only. Learn pixel indexing and the distinction between 8-bit and floating-point formats.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

indexedDB.deleteDatabase — deleting an entire database

indexedDB.deleteDatabase(name) asynchronously deletes the named database, including its data and structure. It returns a request, not a Promise. Open connections can block the operation; the success event confirms completion.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

indexedDB.open — opening a database and upgrading its schema

indexedDB.open asynchronously opens or creates a local database. It returns an event-driven request; schema changes belong in the upgradeneeded handler.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IntersectionObserver: observing element intersections

IntersectionObserver asynchronously reports geometric intersection between an element and a reference region. Learn root, rootMargin, and threshold, and distinguish intersection from actual visibility.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IntersectionObserver.disconnect(): stopping observation

disconnect() stops an IntersectionObserver from observing all its targets while allowing the observer to be reused.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IntersectionObserverEntry — reading an element's intersection

IntersectionObserverEntry describes an observed element's intersection with its root at a recorded instant. Its isIntersecting, target, and intersectionRatio properties identify the intersection state, the element, and the fraction of its area that intersects.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IntersectionObserver.observe — start observing an element

The observe(target) method registers an element for asynchronous intersection tracking against root, using the observer's configuration.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

IntersectionObserver.unobserve — stop observing one element

The unobserve(target) method stops a particular IntersectionObserver from observing the specified element, leaving its other targets unchanged. It does not remove notifications that are already queued.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.Collator — comparing text using language rules

Intl.Collator compares strings using the rules of a selected locale. Its compare function can be passed directly to sorting; the sign of the result matters, not a particular numeric value.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.DateTimeFormat — localized date and time formatting

Intl.DateTimeFormat formats dates and times using locale conventions and a selected time zone. Learn format(), formatToParts(), resolvedOptions(), and the distinction between timeZone and hourCycle.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.DisplayNames — localized names for codes

Intl.DisplayNames turns language, region, and other category codes into display names using the locale resolved by the runtime. Learn the required type, missing-name handling, and the distinction between an input code and the output locale.

Intermediate · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.ListFormat — locale-aware list formatting

Intl.ListFormat combines string list elements using locale-appropriate separators and conjunctions. format() returns text, while formatToParts() separates the original elements from the inserted connecting text.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.NumberFormat — locale-aware number formatting

Intl.NumberFormat converts numbers into text using a locale and formatting options. It controls details such as digit grouping and decimal places; format returns a function bound to a particular formatter.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.PluralRules — selecting a plural category

Intl.PluralRules selects a grammatical number category using locale-specific rules. Its select method returns a category name, not an inflected word or a complete message.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support
JavaScript

Intl.RelativeTimeFormat — formatting relative time

Intl.RelativeTimeFormat creates localized relative-time descriptions. Its format(value, unit) method takes a number and a unit, not a date; calculating the time difference remains the application's responsibility.

Basic · ECMAScript and Web APIs; exact feature edition and browser support reviewed per entry; Node 24 in repository does not prove browser API support