DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
TypeScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
TypeScript
What determines whether narrowing survives into a closure that captures the narrowed variable?
A
How far away the closure is from the narrowing check
B
Whether the variable is reassigned ANYWHERE in the enclosing function, regardless of the closure's position
C
The closure's name
D
Narrowing never survives into any closure
Check Answer