dev
Quizzes
Quizzes
Leaderboard
Submit a question
Add
Express quiz
· 25 questions
Redirect
All questions
Read the code
Which approach in the given code example is a valid way to redirect to specific URL?
res.redirect(301, 'https://domain.com'); res.redirect('https://domain.com');
1
–
3
answer
←
previous
Question
17
of 25
64%
A
First is valid
B
Second is valid
C
Both are valid
←
Previous
Next question
→