0

I am reading a contract from this location :

https://gist.github.com/rstormsf/7cfb0c6b7a835c0c67b4a394b4fd9383

I am not able to understand the logic in the code line 72

startTime: _startTime == 0 ? currentTime() : _startTime,

Can somebody please explain ?

Thanks

1

1 Answer 1

1

enter image description here

   if( _startTime == 0) {
      startTime = currentTime()
    } else {
      startTime = _startTime
    }
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.