Hi
First of all, TW.sessionStorage.clear() function doesn't accept any arguments, this function will clear ALL items in sessionStorage.
Refer to MDN document.
So you are not supposed to pass anything in the parenthesis like below.
TW.sessionStorage.clear(Op_withoutSpaces + "_" + i);
Secondly, can you try removing other code and passing hard-coded key name to TW.sessionStorage.RemoveItem("key") instead of parameter for testing purpose?
I tested both TW.sessionStorage.clear and TW.sessionStorage.RemoveItem("key") in expression and both work just fine.


