Skip to content

Commit

Permalink
Doc test build
Browse files Browse the repository at this point in the history
  • Loading branch information
edemaine committed Jan 25, 2022
1 parent 8a5a4cb commit 5fb5ef7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docs/v2/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -30853,6 +30853,42 @@ <h2>Another heading</h2>
eq 2, a.b.d
eq 3, a.e

test "#5368: continuing object and array literals", ->
{ a
b: { c }
} = {a: 1, b: {c: 2}}
eq a, 1
eq c, 2

[d
e: f
] = [3, {e: 4}]
eq d, 3
eq f, 4
A =
[d
e: f
]
eq A[0], 3
eq A[1].e, 4

for obj in [
{a: a
c: c
}
{a: a
c
}
{a
c: c
}
{a
c
}
]
eq obj.a, 1
eq obj.c, 2

</script>
<script type="text/x-coffeescript" class="test" id="operators">
# Operators
Expand Down

0 comments on commit 5fb5ef7

Please sign in to comment.