Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
For an Single Page Application , we are using clearvar function to clear all variables after s.t call
But, what we found is , it is not clearing s.pageType. Is it the expected behaviour? my understanding was it should clear all variables.
Sign in to like this content
There are a few variables that clearVars doesn't seem to clear 😞 I don't have a full list of them.
You could raise this as a ticket, but in the meantime, you could add a custom code block next to your clearVars that manually sets s.pageType="";