Quiz · First steps · lesson 7 of 7
Quiz — an error and the JavaScript file
What happens if hello.ts holds this code and you run tsc hello.ts, then node hello.js?
let count: number = 1;
count = "two";
console.log(count);What happens if hello.ts holds this code and you run tsc hello.ts, then node hello.js?
let count: number = 1;
count = "two";
console.log(count);