QuizBeginner
Anonymous Function Contextual Typing
Understand how TypeScript infers parameter types for inline anonymous functions from context.
In `['a', 'b'].forEach(item => item.toUpperCase());`, what type does TypeScript infer for `item`?
Understand how TypeScript infers parameter types for inline anonymous functions from context.
In `['a', 'b'].forEach(item => item.toUpperCase());`, what type does TypeScript infer for `item`?