How to get, set, and remove item (Javascript Object) from localStorage

preview_player
Показать описание
This video demonstrates how to set an object to the localStorage, get a set object from localStorage and how to remove item from localStorage
Рекомендации по теме
Комментарии
Автор

If i store array then how can i delete particular index .

adi
Автор

I haven’t seen the whole but I like the title already

kelvinlau
Автор

Sir if our data store in the form object of array {[], [], [] .[], [] } like in this form how can we delete particular array stored data

utkarshsinghalus
Автор

hello sir, why at 1:45 you didn't used const or any data type before setData (line no 29) ?

anjalichauhan
Автор

the removeItem function only removes the item from the local storage but in the html it is still display and goes out only when the page is refresh. why is that

kingsleyokon
Автор

Can you please tell me what is wrong with this error? Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'

abubalo
Автор

Nice explanation but next time work on the background noise.
It is irritatting.

kelvinmati