Javascript equivalent of C# code : <p>I can't find the JavaScript equivalent of this C# code anywhere.</p>

<pre><code>ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
</code></pre>

<p>I'm trying to force Tls via JavaScript</p>
