const [name, setName, resetName, initialName] =useResetState('Bob')// Change the statesetName('Amy')// Reset the state to the initial valueresetName()// Reset the state to a specified value and simultaneously modify the initial value to that specified valueresetName('Lily')console.log(name, initialName) // Lily, Lily