From 4bacf01074e71551222bf04359cbfbdfdee7281f Mon Sep 17 00:00:00 2001 From: Asad Alam <72378312+asadrjhk@users.noreply.github.com> Date: Fri, 17 Dec 2021 21:26:10 +0530 Subject: [PATCH] Add note in the instructions.append.md --- exercises/practice/gigasecond/.docs/instructions.append.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exercises/practice/gigasecond/.docs/instructions.append.md b/exercises/practice/gigasecond/.docs/instructions.append.md index 141df047d8..d98e9b9f9f 100644 --- a/exercises/practice/gigasecond/.docs/instructions.append.md +++ b/exercises/practice/gigasecond/.docs/instructions.append.md @@ -1,3 +1,6 @@ # Instructions append It is possible to return a correct value for this exercise by mutating the solution function argument. Although there are legitimate use cases for mutating function arguments, this is usually undesirable, and in the case of this exercise, clearly unexpected. For this reason, the test suite has a test that fails in case the argument has been modified after the function execution. + +## Notes +The input and output of the gigasecond function is of type [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).