title: Saving min/max value of noUISlider to variable
body: <p>boyz I wonder if it's possible to get the min/max value and store them to a variable which I can use later? To be more specific I need a global variable(?) of min/max value. So I can use it out of scope. The second problem is that I need to have access to it, without updating the slider. I mean I want for example console.log the actual value of the slider has without moving the slider at all.
  Can anyone help?
  Something like I did here: <a href="https://codepen.io/Hatchling/pen/eRaELE" rel="nofollow noreferrer">https://codepen.io/Hatchling/pen/eRaELE</a>
  But I wanna do it with the slider down below.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var slider = document.getElementById('slider');
  
  noUiSlider.create(slider, {
   start: [20, 80],
   connect: true,
   range: {
    'min': 0,
    'max': 100
   }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/8.2.1/nouislider.min.css" rel="stylesheet"/&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/8.2.1/nouislider.min.js"&gt;&lt;/script&gt;
  
  
  
  &lt;div id="slider"&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>