Posts

Showing posts from August, 2024

OptionalChaining Operator?

 OptionalChaining is used when the parameter you want to print value is undefined then it doesn't through error 

setTimeout()

 setTimeout(action, time) Action is the method to execute after the given time

Cache

Cookie

Session

Localstorage

 1.setItem() 2.getItem() 3.removeItem()

Types

 1.localstorage 2.session 3.cookies 4.cache