Skip to content

Commit 82618ee

Browse files
committed
add break statement to prevent erroneous fall-through
1 parent 907617b commit 82618ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,7 @@ function renderLargeShapes(shapes) {
12131213
switch (shape.constructor.name) {
12141214
case 'Square':
12151215
shape.setLength(5);
1216+
break;
12161217
case 'Rectangle':
12171218
shape.setWidth(4);
12181219
shape.setHeight(5);

0 commit comments

Comments
 (0)