Skip to content
 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Challenge-TO-DO

Challenge 1 -> Create a Local Storage with expiry such that it takes a Key, a value and Time such that the key will be available in local Storage till that specified time and after that it would be deleted.

Example:

Setting key and value with time 1000 seconds window.localStorageWithExpiery.setItem("key1", "value", 1000);

Query within 1000 seconds window.localStorageWithExpiery.getItem("key1"); Answer -> "value"

Query after 1000 seconds window.localStorageWithExpiery.getItem("key1"); Answer -> "undefined"

Send the Pull Request for this challenge

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors