Which is the function used to store a value?
Which is the function used to store a value? Correct Answer setItem()
To store a value, pass the name and value to setItem(). The setItem() method of the Storage interface, when passed a key name and value, will add that key to the given Storage object, or update that key’s value if it already exists.