Merge pull request #16 from kossnocorp/acorn-6to5/fix_test

Turn on playground for `"obj ?= 2"`
This commit is contained in:
Sebastian McKenzie 2015-01-17 10:08:53 +11:00
commit 196ab15f80

View File

@ -197,7 +197,9 @@ test("var foo = { memo bar() {} };",
// Memoization assignment operator
testFail("obj ?= 2;", "You can only use member expressions in memoization assignment (1:0)");
testFail("obj ?= 2;", "You can only use member expressions in memoization assignment (1:0)", {
playground: true
});
test("obj.x ?= 2;", {
type: "Program",