Which of the following function is used as a consequence of not including semicolons, commas or whitespace in the Cookie value?
(a) encodeURIComponent()
(b) encodeURI()
(c) encodeComponent()
(d) encode()
This question was posed to me in a job interview.
My doubt stems from Cookies in portion Document Object Model and Event Handling in Javascript of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)