title: date.toLocaleString(options) does not work javascript
body: <p>I am quite new to JS and need some help.</p>
  
  <p>I want to format date with the help of toLocaleString(). According to standards first argument 'locales' can be omitted. My code looks like:</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>    let myDate = new Date(2014, 0, 30)
      let options = {
                  year: '2-digit',
                  month: '2-digit',
                  day: '2-digit'
              };
      let formattedDate = myDate.toLocaleString(options);
      
      console.log(formattedDate);</code></pre>
  </div>
  </div>
  </p>