Implement new.target

This commit is contained in:
Fábio Santos
2015-11-21 14:48:23 +00:00
parent e076abdbf2
commit a800356ad0
4 changed files with 23 additions and 0 deletions

View File

@@ -1219,6 +1219,9 @@ function OutputStream(options) {
});
else output.print("{}");
});
DEFPRINT(AST_NewTarget, function(self, output) {
output.print("new.target");
});
DEFPRINT(AST_ObjectKeyVal, function(self, output){
var key = self.key;
var quote = self.quote;