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
easy
TypeScript
What's the recommended default for a long list of positional function parameters that configure optional behavior?
A
Keep adding more positional parameters indefinitely
B
An options object with optional properties, letting callers specify only what matters to them
C
Always use any for parameters to avoid the design problem entirely
D
Split into a separate function for every possible parameter combination
Check Answer