All challenges

JavaScript challenge · Frontend

Promisify

Difficulty

medium

Time

~20m

Format

Single

Grading

Auto-graded

#frontend#javascript#typescript#async#promises
Mission file // read carefullymedium

Implement promisify(fn) that converts a Node-style callback function (whose last argument is (error, value) => void) into one that returns a Promise — resolving with value, or rejecting with error.

Build with

TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge

Sign in to save your progress.