Solución
solution.tsTypeScript
function processNested(x: number): number {
const step1 = (val: number) => val + 1
const step2 = (val: number) => val * 2
const step3 = (val: number) => val - 3
return step3(step2(step1(x)))
}
export { processNested };0respuestas