tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code14:15

Learn how JavaScript COOKIES work! 🍪

Bro Code ↗

From the creator

#JavaScript #cookies #tutorial // cookie = a small text file stored on your computer // used to remember information about the user // saved in name=value pairs //console.log(navigator.cookieEnabled); //document.cookie = "firstName=Spongebob; expires=Sun, 1 January 2030 12:00:00 UTC; path=/"; //document.cookie = "lastName=Squarepants; expires=Sun, 1 January 2030 12:00:00 UTC; path=/"; //let allCookies = document.cookie; //console.dir(allCookies);

Published 2022-04-23 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code