Skip to content

Commit

Permalink
Assign unit test update
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Jun 28, 2023
1 parent fa57804 commit afc222e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
a: 1, get b() { return this.a; } };
var c = { ...a, a: 2 };
assert.strictEqual('{"a":2,"b":1}', JSON.stringify(c));
a.a = 2;
assert.strictEqual('{"a":2,"b":2}', JSON.stringify(a));

const symbol = Symbol("aa");

Expand Down

0 comments on commit afc222e

Please sign in to comment.