Merge branch 'master' into harmony-v3.0.0
This commit is contained in:
@@ -4,7 +4,7 @@ var assert = require("assert");
|
||||
describe("Object", function() {
|
||||
it("Should allow objects to have a methodDefinition as property", function() {
|
||||
var code = "var a = {test() {return true;}}";
|
||||
assert.equal(Uglify.minify(code, {fromString: true}).code, "var a={test(){return!0}};");
|
||||
assert.equal(Uglify.minify(code).code, "var a={test(){return!0}};");
|
||||
});
|
||||
|
||||
it("Should not allow objects to use static keywords like in classes", function() {
|
||||
|
||||
Reference in New Issue
Block a user