Languages & Frameworks

JavaScript & TypeScript

6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.

  • In JavaScript, how does async/await work, and how does it relate to Promises and callbacks? Junior level
  • In TypeScript, what's the difference between type and interface, and when would you choose one over the other?Go Pro Intern level
  • In TypeScript, what's the difference between the 'any' and 'unknown' types, and how does that change the way you handle data from an external API?Go Pro Mid level
  • In JavaScript, what's the difference between == and ===, and which should you reach for by default?Go Pro Intern level
  • In TypeScript, when do you use a 'type' alias versus an 'interface', and what does it mean that TypeScript is structurally typed?Go Pro Mid level
  • In TypeScript, what is the difference between the any and unknown types, and when would you use unknown?Go Pro Junior level
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.