Skip to content

Commit 1d162f3

Browse files
committed
Don't give away default value
1 parent e49872c commit 1d162f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/appointment-time/appointment-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* @returns {Date} the appointment
1010
*/
11-
export function createAppointment(days, now = Date.now()) {
11+
export function createAppointment(days, now = undefined) {
1212
throw new Error('Remove this line and implement the function');
1313
}
1414

0 commit comments

Comments
 (0)