Ecmascript 6 visual studio

I need help how to setup Visual Studio 2013 express, so can work with the new javascript syntax. As I see, the intellisense work very good, but the problem is when I load html page with js code in browser.

For example, the code below does not make visible the canvas, problem with LET keyword, if I change with VAR then everything is ok.

  • How to destructure an object with a key containing a hyphen into a variable?
  • Is there any benefit to call Reflect.apply() over Function.prototype.apply() in ECMAScript 2015?
  • Which browsers support import and export syntax for ECMAScript 6?
  • Spread Operator ES6
  • ES6 constructor returns instance of base class?
  • JavaScript ES6 import/export and class extends
  •  let canvas = document.createElement("canvas");
       canvas.setAttribute("width", "256");
       canvas.setAttribute("height", "256");
       canvas.style.border = "1px dashed black";
       document.body.appendChild(canvas);
       let ctx = canvas.getContext("2d");
       ctx.moveTo(0, 0);
       ctx.lineTo(200, 100);
       ctx.stroke();
    

    Can someone help how to configure visual studio.

  • Format date in ES6
  • What are the differences (if any) between ES6 arrow functions and functions bound with Function.prototype.bind?
  • How can I declare a public function in an ES6 class?
  • How to test harmony / ES6 / ECMAScript 6 JavaScript?
  • js generator for asynchronous function
  • Javascript (ES6) const with curly braces