Skip to content

Commit 16700c9

Browse files
javoskiyyx990803
authored andcommitted
refactor(core): remove unnecessary switch case (#5971)
1 parent de42186 commit 16700c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/core/observer/array.js

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ export const arrayMethods = Object.create(arrayProto)
2929
let inserted
3030
switch (method) {
3131
case 'push':
32-
inserted = args
33-
break
3432
case 'unshift':
3533
inserted = args
3634
break

0 commit comments

Comments
 (0)