Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptcurryingSingle-choice MCQ

A curried function is built with bind. Given the snippet, what does calling add5(10) return?

function add(a, b) { return a + b; } const add5 = add.bind(null, 5); console.log(add5(10));