Skip to content

Commit 8515af4

Browse files
authored
Update test.js
1 parent 86da35a commit 8515af4

File tree

1 file changed

+1
-1
lines changed
  • exercises/20.5-Map-arrays-of-objects

1 file changed

+1
-1
lines changed

exercises/20.5-Map-arrays-of-objects/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test('The output in the console should should look similar but not exactly to th
3838
if (m < 0 || (m === 0 && _today.getDate() < person.birthDate.getDate())) {
3939
age = age - 1;
4040
}
41-
return ("Hello, my name is " + person.name + " and I am " + age)
41+
return ("Hello, my name is " + person.name + " and I am " + age + " years old")
4242
};
4343

4444
let _test = _people.map(_simplifier)

0 commit comments

Comments
 (0)