Skip to content

Commit 71751ff

Browse files
committed
Fix arrow-parens
1 parent cf1e826 commit 71751ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Exercises/6-matrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const max = matrix => {
3+
const max = (matrix) => {
44
// Use nested for loop to find max value in 2d matrix
55
// For example max([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
66
// should return 9

Exercises/7-ages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const ages = persons => {
3+
const ages = (persons) => {
44
// Use for..in to calculate age for each person
55
// For example ages({
66
// lenin: { born: 1870, died: 1924 },

0 commit comments

Comments
 (0)