SHARE
TWEET

Untitled

a guest Feb 27th, 2020 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top