Quiz: Types Disappear

What does this program print?

let heroName: string = "Kira";
let arrows: number = 20;
arrows = arrows - 5;
console.log(heroName + " has " + arrows * 2 + " arrows.");

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

7/9