You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Escapes double quote '"' and single quote ''' characters in addition to '&', '<', and '>' so that a string can be included in an HTML tag attribute value within double or single quotes.
I couldn't find a native JS function that covers this.