Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Given a moment, determine the moment that would be after a gigasecond
  2. has passed.
  3.  
  4. A gigasecond is 10^9 (1,000,000,000) seconds.
  5.  
  6. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement