weird symbols in electron javascript : <p>On this page in the example code constants are defined with <code>{}</code></p>

<p><a href="https://github.com/electron/electron/blob/master/docs/api/net.md" rel="nofollow noreferrer">https://github.com/electron/electron/blob/master/docs/api/net.md</a></p>

<pre><code>const {app} = require('electron')
</code></pre>

<p>What does <code>{name}</code> do compared to just <code>name</code>? </p>

<p>Also, I tried the code above with jquery and I an error "cannot read property request of undefined".</p>

<pre><code>jQuery(document).ready(function($){

  const {net} = require('electron');
  const request = net.request('https://github.com'); &lt;- here
</code></pre>
