title: Using ES6 features with all browsers support
body: <p>I want to use ES6 features in my script, and having all browsers support it. How can I do that, and can I?</p>
  
  <p>I've been thinking about using some tool that will convert my code to ES5 automatically on <code>git pull</code>ing it on the server, and create the second file out of it. And then in the browser I could use one of those scripts, depending on the browser and its version. </p>
  
  <p>Is this possible?</p>
  
  <p>It would however create some problems:</p>
  
  <ol>
  <li>Converted code would have the same performance as writing the code
  in ES5 natively. </li>
  <li>I would have to write some kind of if in the HTML, and I want to
  include just one script, without anything else.</li>
  </ol>
  
  <p>What's the best way to do this?</p>