React JS Quiz
Home
Blog
Privacy Policy
Contact Us
Javascript Quiz
New
useParams Quiz
What happens if a URL parameter is missing when using useParams?
Report this question
It throws an error
It returns null
It returns undefined
Show Explanation
If a URL parameter is missing, useParams will return undefined for that parameter.
It returns an empty string
Next Question (14/20)