
Prompt: explains how to install Node.js and make sure your project uses the correct version.
You learn to:
Use fnm, a version manager, to install and select Node.js.
Record the project’s expected version in a .node-version file.
Verify which Node.js executable and version are actually running.
Detect conflicts caused by multiple installations.
The key idea: installing a version or recording it in a file does not automatically activate it in your terminal.
Prompt: explains how to run JavaScript from the terminal using Node.js.
You learn to:
Use the REPL (Read–Eval–Print Loop), an interactive console for trying JavaScript expressions.
Read: accept the code you enter.
Eval: evaluate that code.
Print: display the result.
Loop: wait for your next input.
Run node without a filename to open Node.js’s REPL.
Run a JavaScript file with node app.js.
Use node --eval to execute an expression.
Use node --print to execute an expression and display its result.
Use node --check to check syntax without running the code.
The key idea: Node.js lets you experiment, execute code and check syntax directly from the terminal.
Prompt: explains how to organize a minimal Node.js project.
You learn to:
Put reusable logic in its own module.
Import that module into the application.
Test the same logic in a separate test file.
For example, an addition function receives 2 and 3; the application prints 5, and the test checks that result.
The key idea: separating reusable code, application execution and tests makes a project easier to understand and maintain.
Prompt: explains how to configure a Node.js application using environment variables.
Environment variables arrive as text, so your application must convert and validate them:
PORT="3000" must become a valid number.
DEBUG="true" should be explicitly compared with "true".
Missing or invalid values need defaults or clear errors.
The key idea: configuration values need careful interpretation-for example, the string "false" is truthy in JavaScript.
Prompt: explains how a Node.js command-line application receives arguments and reports results.
For example, node cli.mjs --input demo passes "demo" as an input value.
You learn to:
Parse supported options and reject unknown ones.
Send successful results to stdout, using JSON when appropriate.
Send error messages to stderr.
Return exit code 0 for success and a nonzero code for failure.
The key idea: predictable inputs and outputs make command-line tools easy for both people and other programs to use.
Prompt: explains how to receive interactive input from the terminal in Node.js.
Using readline, an application can ask a question, wait for your answer and use it in its logic.
You also learn to handle cancellation or unavailable input, and close the input interface in a finally block.
The key idea: a terminal application should collect input reliably and release resources when it finishes or is interrupted.
Prompt: explains Node.js watch mode, which automatically restarts your application when its source files change.
For example:
node --watch app.mjs
The lesson checks that editing an imported file triggers a restart and produces updated output.
The key idea: watch mode speeds up development by letting you edit code and see the changes without restarting the application manually.
Prompt: explains scope and closures in JavaScript.
Scope determines where a variable can be accessed.
A closure lets a function remember variables from where it was created, even after the outer function finishes.
For example, a counter function can remember its current count between calls.
The key idea: closures let functions keep private state without using global variables.
Prompt: explains objects, destructuring and mutation in JavaScript.
Objects group related data into properties.
Destructuring extracts properties into variables.
Mutation changes an existing object.
The key idea: assigning an object to another variable shares the same object; it does not create a copy. A spread copy ({ ...object }) creates a new outer object, but nested objects remain shared.
Prompt: explains classes, prototypes and this in JavaScript.
Classes provide a convenient way to create objects with shared behavior.
Prototypes allow objects to inherit methods.
this usually refers to the object calling a method; its value depends on how the function is called.
The key idea: passing a method as a callback can lose its original this context. Binding it with .bind() or wrapping the call in an arrow function preserves the intended object.
Prompt: explains collections and object identity in JavaScript.
Map stores key-value pairs and allows objects as keys.
Set stores unique values.
Objects are compared by identity, rather than by their contents.
For example, adding { id: 1 } twice as two separate objects produces two entries in a Set.
The key idea: two objects with identical properties are still different objects unless they share the same reference.
Prompt: explains iterators and generators in JavaScript.
An iterator produces values one at a time.
A generator is a function declared with function* that uses yield to pause and provide each value.
A for...of loop can consume those values.
The key idea: generators produce values as needed, instead of creating an entire collection upfront. This is useful for large sequences and custom iteration.
Prompt: explains serialization and numeric limits in JavaScript.
Serialization converts data into a format such as JSON for storage or transmission.
JSON does not preserve every JavaScript type: dates become strings, and BigInt needs explicit handling.
Integers beyond Number.MAX_SAFE_INTEGER can lose precision.
The key idea: choose data formats and numeric types carefully so values remain accurate when saved, transmitted and restored.
Prompt: explains Unicode and regular expressions in JavaScript.
Unicode represents characters across languages, including emojis.
A visible character can contain multiple code points, so .length does not always match the number of characters you see.
Regular expressions find and validate text patterns; Unicode-aware matching helps handle international text correctly.
The key idea: text processing must account for how characters are encoded and combined, especially with accents and emojis.
Prompt: explains dates, locales and time zones in JavaScript.
A Date represents an instant in time.
A locale controls formatting conventions, such as day/month order.
A time zone determines the local time displayed for that instant.
Intl.DateTimeFormat lets you specify both locale and time zone.
The key idea: the same instant can appear differently across countries and time zones, so formatting and interpretation must be explicit.
Prompt: explains blocking versus nonblocking execution in Node.js.
Blocking operations keep the JavaScript thread busy, delaying other work.
Nonblocking operations allow the event loop to handle other tasks while waiting for operations such as file or network access.
The key idea: nonblocking I/O helps Node.js serve multiple requests efficiently, but CPU-heavy JavaScript can still block the event loop—even inside an async function.
Prompt: explains the phases of the Node.js event loop.
The event loop organizes when callbacks run, including:
Timers: callbacks from setTimeout() and setInterval().
Poll: handling I/O events.
Check: callbacks from setImmediate().
Close callbacks: cleanup events, such as a socket closing.
The key idea: asynchronous callbacks run according to scheduling rules, so their execution order may differ from the order in which you wrote them.
Prompt: explains microtasks and process.nextTick() callbacks in Node.js.
Promise handlers and queueMicrotask() use the microtask queue.
process.nextTick() uses a separate queue.
Both can run before the event loop moves on to timers or I/O callbacks; their relative order depends on the execution context.
The key idea: scheduling affects execution order, and continuously adding these callbacks can delay timers and I/O.
Prompt: explains the libuv worker pool in Node.js.
Node.js uses a pool of background threads for certain operations, including filesystem access, cryptography and compression. When an operation finishes, its callback can run on the JavaScript thread.
The key idea: background threads help keep the event loop responsive, but the pool has limited capacity. CPU-heavy JavaScript is not automatically moved into it.
Prompt: explains timers and cancellation in Node.js.
setTimeout() schedules a callback after a delay.
setInterval() schedules repeated callbacks.
clearTimeout() and clearInterval() cancel scheduled timers.
Some promise-based timers support cancellation with an AbortSignal.
The key idea: a timer’s delay is a minimum waiting period, not an exact execution time. Cancel timers when they are no longer needed.
Prompt: explains resource lifetime and process exit in Node.js.
Resources such as servers, sockets and active timers can keep an application running. You should close them when their work is complete.
Calling process.exit() stops the process immediately and can interrupt pending work or output. Setting process.exitCode lets Node.js finish naturally while reporting success or failure.
The key idea: release resources and allow pending work to finish before the application exits.
Prompt: explains explicit resource management in Node.js.
The using and await using declarations let compatible resources define cleanup that runs automatically when execution leaves their scope, including when an error occurs.
This can help manage files, connections and other resources.
The key idea: tie a resource’s lifetime to its scope, so cleanup happens reliably instead of depending on manual calls or garbage collection.
Prompt: explains callback conventions and promisification in Node.js.
Many callback-based APIs use an error-first callback:
callback(error, result);
If the operation succeeds, error is usually null. If it fails, the callback receives an error.
Promisification converts a compatible callback-based function into one that returns a Promise, allowing you to use async/await.
The key idea: util.promisify() helps integrate error-first callback APIs into Promise-based code.
Prompt: explains how to combine multiple Promises in JavaScript.
Promise.all() waits for every operation to succeed and rejects if any fails.
Promise.allSettled() collects every outcome, including failures.
Promise.race() settles with the first settled Promise.
Promise.any() returns the first successful result and rejects if all fail.
The key idea: choose the method based on which results you need and how failures should affect the overall operation.
Prompt: explains sequential versus concurrent await in JavaScript.
Sequential: start an operation, wait for it to finish, then start the next. Use this when one result depends on another.
Concurrent: start independent operations together and await their results with Promise.all().
The key idea: running independent operations concurrently can reduce waiting time, but it does not automatically make CPU-heavy JavaScript run in parallel.
Prompt: explains bounded concurrency in Node.js.
Instead of starting every asynchronous task at once, you limit how many can be in progress—for example, processing five requests at a time.
When one finishes, another can start.
The key idea: bounded concurrency balances throughput with resource limits, helping prevent overloaded servers, exhausted connections and excessive memory use.
Prompt: explains cancellation and deadlines in Node.js.
Cancellation signals that an operation is no longer needed.
A deadline limits how long you are willing to wait.
AbortController and AbortSignal let supported operations respond to cancellation.
The key idea: stopping your wait does not automatically stop the underlying work. Pass the signal to an operation that supports it, and clean up resources when cancellation occurs.
Prompt: explains error propagation and cleanup in asynchronous Node.js code.
Use try/catch to handle errors from operations you await.
Propagate errors when the caller should decide how to respond.
Use finally to release resources whether an operation succeeds or fails.
The key idea: errors should reach the right handler, and resources must be cleaned up even when something goes wrong.
Prompt: explains async generators in JavaScript.
An async generator, declared with async function*, can wait for asynchronous work and produce values one at a time using yield.
You consume those values with:
for await (const item of generator())
{
// Process each item
}
The key idea: async generators let you process data as it becomes available, which is useful for paginated APIs, streams and asynchronous data sources.
Prompt: explains ES modules in Node.js.
ES modules let you organize code into reusable files:
export makes functions, classes or values available to other modules.
import brings those exports into another file.
Use .mjs, or configure .js files with "type": "module" in package.json.
The key idea: modules separate responsibilities and let different parts of your application share code through explicit imports and exports.
Prompt: explains CommonJS modules in Node.js.
CommonJS lets you organize and reuse code using:
require() to load another module.
module.exports to define what a module exposes.
.cjs to explicitly identify a CommonJS file.
The key idea: each module has its own scope and shares code through exports. Assigning a new value directly to exports does not replace module.exports.
Prompt: explains interoperability between ES modules and CommonJS in Node.js.
It shows how code using import and export can work with code using require() and module.exports.
You learn to recognize differences in exports, loading behavior and module configuration.
The key idea: the two module systems can work together, but their exports and loading rules are not identical.
Prompt: explains the exports and imports fields in package.json.
exports defines the entry points that other applications can import from your package.
imports defines internal aliases, beginning with #, for use inside the package.
The key idea: these fields create clear public interfaces and simplify internal references, helping keep consumers independent of your package’s folder structure.
Prompt: explains dynamic imports and plugins in Node.js.
import() loads a module when needed and returns a Promise.
A plugin provides functionality through an agreed interface.
Your application can load a plugin at runtime and check that it exposes the expected functions.
The key idea: dynamic imports let you add optional features without loading every module at startup.
Prompt: explains module-relative assets and JSON imports in Node.js.
Use import.meta.url to locate files relative to the current ES module, rather than the terminal’s working directory.
Import JSON as structured data, explicitly identifying it as a JSON module.
The key idea: your application should locate its assets reliably, even when launched from a different folder.
Prompt: explains circular dependencies in Node.js.
A circular dependency happens when module A imports module B, and module B imports module A, directly or through other modules.
This can cause initialization errors or expose values before they are ready.
The key idea: keep module dependencies clear and predictable. Moving shared functionality into a third module often breaks the cycle.
Prompt: explains package metadata and dependency types in package.json.
Metadata describes your package, including its name, version and module configuration.
dependencies lists packages needed at runtime.
devDependencies lists development tools, such as linters.
peerDependencies declares compatibility with packages supplied by the consuming project.
The key idea: classify dependencies correctly so your package installs and works as intended in different environments.
Prompt: explains portable npm scripts in Node.js.
Scripts in package.json provide consistent commands for tasks such as running, testing and building your application:
npm run build
npm test
The key idea: scripts should work across Windows, macOS and Linux. Avoid operating-system-specific shell commands and use Node.js helper scripts when needed.
Prompt: explains lockfiles and reproducible dependency installation.
package.json declares dependency requirements.
package-lock.json records the resolved dependency versions and integrity information.
npm ci installs from the lockfile and fails if it conflicts with package.json.
The key idea: commit your lockfile and use npm ci for consistent installations across development, testing and deployment.
Prompt: explains semantic versioning and dependency updates.
Versions follow MAJOR.MINOR.PATCH, for example 2.4.1:
MAJOR: breaking changes.
MINOR: backward-compatible features.
PATCH: backward-compatible fixes.
Version ranges in package.json control which updates are allowed.
The key idea: review and test dependency updates, because a version number describes intended compatibility—not a guarantee that your application will keep working.
Prompt: explains npm workspaces.
Workspaces let you manage multiple related packages inside one repository—for example, an application and a shared library.
You can install dependencies from the repository root, link local packages and run commands for a specific workspace.
The key idea: workspaces organize related packages together while letting each keep its own code and package.json.
Prompt: explains dependency inspection and security review in Node.js.
Inspect installed packages, their versions and why they are included.
Distinguish your direct dependencies from their transitive dependencies.
Review reports of known vulnerabilities and assess their relevance to your application.
The key idea: understand your dependency tree before making changes, and review and test proposed fixes instead of applying them blindly.
Prompt: explains how to prepare a Node.js package for distribution and publishing.
You learn to:
Configure the package’s metadata and public entry points.
Include the intended files and exclude private or unnecessary ones.
Inspect the package contents with npm pack --dry-run.
Test the packaged version before publishing.
The key idea: verify what users will actually receive, rather than assuming your development folder matches the published package.
Prompt: explains filesystem operations in Node.js.
Using node:fs/promises, you can asynchronously read, write, copy and remove files, and create directories.
You also learn to handle errors, such as missing files or insufficient permissions.
The key idea: await filesystem operations and handle failures explicitly so your application works reliably with files and directories.
Prompt: explains file paths and directory containment in Node.js.
Use node:path to construct and resolve paths across operating systems.
Check that a requested file stays inside an allowed directory.
Reject path traversal attempts, such as ../, that could access files outside it.
The key idea: a user-supplied filename should not let your application escape its intended directory. Symbolic links also need consideration when enforcing that boundary.
Prompt: explains directory traversal in Node.js.
Directory traversal means exploring a folder and its subfolders to find files and directories.
You learn to read directory entries, distinguish files from folders, handle errors and decide whether to follow symbolic links.
The key idea: walk a directory tree systematically while controlling which locations your application explores.
Prompt: explains safe file replacement in Node.js.
Instead of writing directly over an existing file:
Write the new contents to a temporary file in the same directory.
Close it after the write succeeds.
Rename it to replace the destination.
Clean up the temporary file if something fails.
The key idea: avoid leaving the original file partially overwritten if a write fails. A supported atomic rename lets readers see either the old file or the complete replacement.
Prompt: explains file permissions and exclusive file creation in Node.js.
Permissions control who can read, write or execute a file.
Opening a file with wx creates it only if it does not already exist; otherwise, the operation fails.
The key idea: exclusive creation avoids accidentally overwriting files and prevents the race condition caused by checking whether a file exists before creating it.
Prompt: explains Buffers and binary data layouts in Node.js.
A Buffer stores raw bytes. You can read and write values at specific byte positions, such as integers in a file header or network message.
You must use the correct offsets, value sizes and byte order—little-endian or big-endian.
The key idea: binary data needs a defined layout so its bytes are interpreted correctly.
Prompt: explains text encodings and chunk boundaries in Node.js.
Characters encoded in UTF-8 can occupy several bytes. When data arrives in chunks, a character’s bytes may be split between two chunks.
Decoding each chunk independently can corrupt the text. A streaming decoder, such as StringDecoder, preserves incomplete characters until the remaining bytes arrive.
The key idea: byte boundaries do not always match character boundaries.
Prompt: explains file watching in Node.js.
File watching lets an application react when a file or directory changes—for example, to reload configuration.
Watch notifications can be duplicated, combined or vary across operating systems, so they should trigger a fresh check of the file’s state.
The key idea: treat watch events as signals to investigate a change, and close the watcher when it is no longer needed.
Prompt: explains the lifecycle of event listeners using EventEmitter in Node.js.
on() registers a listener for repeated events.
once() registers a listener that runs only once.
off() removes a listener when it is no longer needed.
The key idea: manage listeners carefully to prevent duplicate handling and memory leaks, and handle the special 'error' event explicitly.
Prompt: explains asynchronous event listeners in Node.js.
An event listener can use async/await, but EventEmitter.emit() does not wait for its Promise to finish.
You must handle rejected Promises explicitly; a try/catch around emit() will not catch failures that occur asynchronously inside the listener.
The key idea: starting an async listener does not mean its work has completed—manage errors and completion deliberately.
Prompt: explains backpressure in readable and writable streams.
Backpressure happens when data is produced faster than it can be consumed.
When a writable stream’s write() method returns false, stop writing and wait for the 'drain' event before continuing.
The key idea: match the producer’s speed to the consumer’s capacity to prevent excessive buffering and memory use.
Prompt: explains Transform streams in Node.js.
A Transform stream receives data, changes it and produces new output—for example, compressing bytes or converting text to uppercase.
It has both a writable side for input and a readable side for output.
The key idea: process data incrementally as it flows through a pipeline, while respecting backpressure and handling chunk boundaries correctly.
Prompt: explains stream pipelines and cleanup when failures occur.
A pipeline connects streams—for example, reading a file, compressing its contents and writing the result.
Using pipeline() helps coordinate backpressure, propagate errors and destroy participating streams when an operation fails.
The key idea: manage the connected streams as one operation, and clean up resources or incomplete output when that operation fails.
Prompt: explains asynchronous iteration over streams in Node.js.
You can consume a readable stream one chunk at a time using:
for await (const chunk of stream) {
// Process each chunk
}
The loop waits for data and lets you handle failures with try/catch.
The key idea: process streamed data incrementally with straightforward asynchronous code, rather than loading everything into memory.
Prompt: explains interoperability between Node.js streams and Web Streams.
These are two different streaming APIs. Adapters such as Readable.toWeb() and Readable.fromWeb() let you connect them.
This is useful when working with browser-compatible APIs, such as fetch(), alongside Node.js stream pipelines.
The key idea: convert between stream types while preserving data flow, backpressure, cancellation and error handling.
Prompt: explains streaming compression in Node.js.
Using node:zlib, you can compress or decompress data as it flows through streams—for example, reading a file, applying gzip compression and writing the compressed result.
The key idea: process large amounts of data incrementally instead of loading the entire file into memory, while respecting backpressure and handling failures through a pipeline.
Prompt: explains Zstandard compression in Node.js.
Zstandard, or Zstd, compresses data to reduce storage or transfer size. Decompression restores the original bytes.
The example verifies that the restored data matches the input and checks that an output-size limit rejects excessive expansion.
The key idea: verify data integrity and enforce decompression limits to keep resource use controlled.
Prompt: explains URLs and query parameters in Node.js.
URL separates an address into parts such as its host, pathname and query string.
URLSearchParams reads and updates query parameters while handling encoding.
For example, /products?page=2 contains the pathname /products and the query parameter page=2.
The key idea: use structured URL APIs instead of manually splitting strings, and validate parameter values before using them.
Prompt: explains how to build an HTTP server using Node.js’s built-in node:http module.
You learn to:
Route requests by method and URL.
Read and validate JSON request bodies.
Limit request size.
Return suitable status codes, such as 200, 400, 404 and 413.
The example includes a health-check route and a JSON echo route.
The key idea: an HTTP server must handle valid requests and reject invalid ones predictably.
Prompt: explains HTTP clients and connection reuse in Node.js.
Instead of opening a new connection for every request, an HTTP client can reuse existing connections through a connection pool.
This reduces connection setup overhead. You also need to consume or properly close response bodies so connections can be released.
The key idea: manage connections and responses carefully to make repeated HTTP requests efficient and reliable.
Prompt: explains HTTP requests with fetch(), cancellation and error handling in Node.js.
Use fetch() to send a request and read its response.
Check response.ok or the status code: responses such as 404 and 500 do not automatically reject the Promise.
Pass an AbortSignal to cancel a supported request.
The key idea: distinguish HTTP error responses from network failures and cancellation, then handle each appropriately.
Prompt: explains HTTPS and TLS verification in Node.js.
HTTPS uses TLS to encrypt communication. Certificate verification checks that the server’s certificate is trusted and matches the requested hostname.
The key idea: encryption alone is not enough—you must also verify the server’s identity. Configure the correct trusted certificate authority when needed, rather than disabling verification.
Prompt: explains HTTP/2 multiplexing in Node.js.
HTTP/2 allows multiple requests and responses to travel as independent streams over one connection.
Each stream has its own lifecycle, so you must handle its completion, errors and cancellation.
The key idea: reuse one connection for multiple concurrent exchanges, while managing each stream separately.
Prompt: explains TCP message framing in Node.js.
TCP delivers a stream of bytes, rather than separate messages. One message may arrive across several chunks, or one chunk may contain multiple messages.
Your application needs a framing rule, such as a length prefix or delimiter, to reconstruct complete messages.
The key idea: never assume that one socket 'data' event equals one application message.
Prompt: explains UDP datagrams in Node.js.
UDP sends individual messages called datagrams, using the node:dgram module.
Unlike TCP, it preserves message boundaries but does not guarantee delivery, ordering or protection against duplicates.
The key idea: UDP provides lightweight message delivery, while your application must handle missing, duplicated or out-of-order messages when necessary.
Prompt: explains DNS resolution and address selection in Node.js.
DNS translates a hostname, such as example.com, into IP addresses. A hostname may have several IPv4 and IPv6 addresses, with different connectivity conditions.
Your application must handle lookup failures and connection attempts appropriately.
The key idea: successfully resolving a hostname does not guarantee that every returned address is reachable or that the server is available.
Prompt: explains connection management when using fetch() in Node.js.
Repeated requests can reuse pooled connections, reducing connection setup overhead.
You must consume or cancel response bodies, apply suitable timeouts and close custom connection-management resources when finished.
The key idea: manage the entire request-and-response lifecycle so connections remain reusable and do not accumulate unnecessarily.
Prompt: explains browser-compatible HTTP objects in Node.js.
Objects such as Request, Response and Headers let you create and inspect HTTP messages using APIs shared with browsers.
Their bodies are streams and generally cannot be consumed twice without explicitly cloning or buffering them.
The key idea: use familiar HTTP interfaces across environments while managing headers and body consumption correctly.
This course contains the use of artificial intelligence
Learn Node.js through structured prompts, AI-assisted coding, and practical examples you can run and understand.
AI is changing how developers write software. Knowing what to ask, how to evaluate the response, and how to verify the resulting code are valuable development skills. This course brings those skills into your Node.js learning journey.
Across 167 practical lessons, you will explore Node.js from its foundations to advanced development topics using a prompt-based, AI-assisted methodology. Each lesson connects an implementation prompt with a visual explanation, source code, and actual execution results, helping you connect the request, the implementation, and the behavior of the application.
A practical approach to learning with AI
You will work through a repeatable learning process:
Start with a structured prompt that defines the development task.
Explore the Node.js concepts and implementation choices involved.
Inspect the source code and inputs.
Run the example and examine its actual results.
Use what you learn to refine your prompts and guide further development.
The emphasis is on building your understanding alongside your ability to use AI assistance. You will practice reviewing generated solutions, recognizing important constraints, and checking whether an implementation behaves as intended.
What you will explore
The course covers a broad range of Node.js development skills:
Foundations: installation, project structure, configuration, JavaScript essentials, modules, and npm.
Asynchronous programming: the event loop, promises, concurrency, cancellation, and error handling.
Files and streams: filesystem operations, buffers, backpressure, pipelines, and compression.
APIs and communication: HTTP servers, Express middleware, REST APIs, validation, WebSockets, and server-sent events.
Data and background processing: SQLite, PostgreSQL, MongoDB, Redis, transactions, caching, and background jobs.
Security: password handling, sessions, JWT verification, authorization, encryption, and resource controls.
Quality and diagnostics: testing, debugging, logging, metrics, tracing, profiling, and memory analysis.
Advanced development and delivery: worker threads, TypeScript, WebAssembly, containers, continuous integration, deployment, and graceful shutdown.
You will also explore application examples involving authenticated APIs, real-time collaboration, command-line tools, and background processing.
Who this course is for
This course is for aspiring backend developers, JavaScript learners ready to explore Node.js, and developers who want a structured way to incorporate AI assistance into their workflow. Basic JavaScript familiarity will help you get more from the examples.
Build your Node.js knowledge while developing a more deliberate way to work with AI—from the first prompt to a verified result.