07:31Learn how JavaScript COOKIES work! 🍪
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.





