Google News
logo
Koa.js - Quiz(MCQ)
Which of the following is used to get the value of a cookie based on its name?
A)
ctx.cookies.get()
B)
ctx.cookies.set()
C)
ctx.cookies.obtain()
D)
All of the above

Correct Answer :   ctx.cookies.get()


Explanation : ctx.cookies.get() used to get the value of a cookie based on its name.

Advertisement