Merge pull request #16 from kossnocorp/acorn-6to5/fix_test
Turn on playground for `"obj ?= 2"`
This commit is contained in:
commit
196ab15f80
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user