Skip to content

Commit

Permalink
Merge pull request #142 from boraozenbirkan/main
Browse files Browse the repository at this point in the history
Typo Update - Ex.2 index.solution.ts
  • Loading branch information
mdevils committed Dec 8, 2023
2 parents 1d54213 + 40375dd commit 9f0346c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exercises/2/index.solution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export const persons: Person[] = [
}
];

export function logPerson(user: Person) {
console.log(` - ${user.name}, ${user.age}`);
export function logPerson(person: Person) {
console.log(` - ${person.name}, ${person.age}`);
}

persons.forEach(logPerson);
Expand Down

0 comments on commit 9f0346c

Please sign in to comment.