Skip to content

Commit 648565e

Browse files
committed
Edited ch07.asciidoc with Atlas code editor
1 parent 7748618 commit 648565e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ch07.asciidoc

+6-1
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,12 @@ Now that we better understand the internals of `Array#copyWithin`, we can genera
21012101

21022102
[source,javascript]
21032103
----
2104-
function copyWithin(items, target, start = 0, end = items.length) {
2104+
function copyWithin(
2105+
items,
2106+
target,
2107+
start = 0,
2108+
end = items.length
2109+
) {
21052110
const copy = items.slice(start, end)
21062111
const removed = end - start
21072112
items.splice(target, removed, ...copy)

0 commit comments

Comments
 (0)