Home »
MCQs »
Koa.js MCQs
Which of the following technique is used to determine the value of a cookie based on its name?
19. Which of the following technique is used to determine the value of a cookie based on its name?
- ctx.get
- ctx.cookies.get
- cookies.get.ctx
Answer: B) ctx.cookies.get
Explanation:
ctx.cookies.get technique is used to determine the value of a cookie based on its name.