Skip to main content

Promise Finally

Problem 84intermediate20 mins

Promise Finally

Created on: 9 Sep 2025, 12:00 PM

Time Elapsed
00:00
Problem Description

Implement Promise.prototype.finally() that runs regardless of outcome.

Requirements

  • •Run on resolve
  • •Run on reject
  • •Return promise
  • •Preserve value/reason
  • •Handle errors in finally

Tags

JavaScriptPromisesAsyncPolyfill
Code Editor

Loading editor...