Make classes implicitly strict mode

This commit is contained in:
Anthony Van de Gejuchte
2016-09-11 15:06:10 +02:00
parent 88f6ff38d1
commit 947b8750e8
5 changed files with 71 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
class_directives_compression: {
input: {
class foo {
foo() {
"use strict";
}
}
}
expect_exact: "class foo{foo(){}}"
}