remove support for const (#1910)

As this is not part of ES5.
This commit is contained in:
Alex Lam S.L
2017-05-12 14:57:41 +08:00
committed by GitHub
parent ac73c5d421
commit c391576d52
20 changed files with 36 additions and 591 deletions

View File

@@ -1033,9 +1033,6 @@ function OutputStream(options) {
DEFPRINT(AST_Var, function(self, output){
self._do_print(output, "var");
});
DEFPRINT(AST_Const, function(self, output){
self._do_print(output, "const");
});
function parenthesize_for_noin(node, output, noin) {
if (!noin) node.print(output);