SecureString in Javascript/angular2
<p>I need to copy sensitive data to clipboard by using javascript/Angular2. With the string should be kept confidential, such as by deleting it from computer memory when no longer needed. </p>

<p>Something like this is available within Microsoft .Net (System.Security.SecureString).</p>

<p>Question: As the <a href="https://security.stackexchange.com/questions/33428/is-a-password-in-the-clipboard-vulnerable-to-attacks">Microsoft clipboard is not secure</a>, is something like this also available for javascript/Angular2? </p>

<p>Thank you</p>