cf.completefrontend

Predict the outputMedium

What does ["1", "2", "3"].map(parseInt) return?

What does this log?
console.log(["1", "2", "3"].map(parseInt));
console.log(["10", "10", "10", "10"].map(parseInt));
console.log(["1", "2", "3"].map(Number));

The answer

Work out every line it logs, in order. Then check.

Checking your sign-in…