Skip to content
Quiz · Arrays and tuples · lesson 2 of 7

Quiz — push of the wrong type

What does tsc report for this program?

TypeScript
const scores = [90, 75];
scores.push("100");
console.log(scores.length);