4 Commits (f5aaef813f1bf4ea7f256d90d1f783abee0d7165)

Author SHA1 Message Date
Dave Gauer 5f7e9389d5 Added ex 48, additional comment on 46 4 years ago
Dave Gauer 594a5c0f47 oops, left in old note 4 years ago
Dave Gauer 077a779f3d Change default elephant tail to null (#25)
It was confusing to see

    tail... = undefined

in the struct definition and then

    if (tail == null)

later in the exercise - it appears that the mismatch would be the issue
- but that's distracting from the real issue: making the value optional!

Changing the initial value to null is still correct, but won't distract.

The only worry now is that the user will remember the undefined
definition from the previous exercise and wonder if that has to be that
way...but you can't win them all!
4 years ago
Dave Gauer f27601b558 Added ex. 46 optionals 2 - elephants! 4 years ago