Skip to content

Commit e78408c

Browse files
committed
refactored function using for...of loop
1 parent 4a2cb1a commit e78408c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎Sprint-1/refactor/includes.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
function includes(list, target) {
32
for (const element of list) {
43
if (element === target) {

0 commit comments

Comments
 (0)