Skip to main content
InterviewHubPRO
Section Overview
Q41

Question 41 of 536

Part 1: Core Objects, Prototypes, Functions & Scope (1 - 53)

8%
JavaScript & V8 Internals (536 Qs)•Part 1: Core Objects, Prototypes, Functions & Scope (1 - 53)

What is a Cookie

junior LevelMost AskedCode ExamplePrototypes

A cookie is a piece of data that is stored on your computer to be accessed by your browser. Cookies are saved as key/value pairs. For example, you can create a cookie named username as below,

javascript
document.cookie = "username=John";

Screenshot