Google News
logo
JavaScript - Interview Questions
How to formulate a cookie using JS?
A cookie is a set of data saved on the computer and accessed by the browser.
 
Step to create a JavaScript cookie :
 
document.cookie = “cookiename=Ftl”; expires = date”;
Advertisement