Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if browser supports Local Storage

if (typeof(Storage) !== "undefined") 
{ 
	console.log("localStorage is available."); 
} 
else 
{ 
	console.log("localStorage is not supported by current browser."); 
} 
Source by lms.monash.edu #
 
PREVIOUS NEXT
Tagged: #check #browser #supports #Local #Storage
ADD COMMENT
Topic
Name
5+9 =