Frontend Engineer · interview questions
Frontend Engineer interview questions: why
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
React Developer Core 3
TypeScript Developer Core 7
- Most asked Why do you still need runtime validation in TypeScript, and how do libraries like Zod help?
- Why does `Object.keys(obj)` return `string[]` instead of `(keyof T)[]`?
- Why does `Omit` behave unexpectedly on union types, and how do you fix it?
- Why should you avoid the `Function` type?
- Why are classes with private members compared nominally?
- Why combine `as const` with `satisfies`?
- Why can a function with fewer parameters be assigned to a function type with more parameters?