Q. Which of the following is the correct syntax to create a cookie using JavaScript?
β
Correct Answer: (A)
cookie = 'key1 = value1; key2 = value2; expires = date';
You must be Logged in to update hint/solution