Home »
MCQs »
Koa.js MCQs
How many arguments does ctx.cookies.set() takes?
26. How many arguments does ctx.cookies.set() takes?
- 3
- 4
- 5
- 2
Answer: A) 3
Explanation:
ctx.cookies.set(), takes three required arguments i.e., name and value, and one optional argument.