Quiz · Arrays and tuples · lesson 2 of 7
Quiz — push of the wrong type
What does tsc report for this program?
const scores = [90, 75];
scores.push("100");
console.log(scores.length);What does tsc report for this program?
const scores = [90, 75];
scores.push("100");
console.log(scores.length);