wow that's such a philosophical question :)
At the end of the day it makes very little difference, but yeah, only create the member if a value other than undefined was actually passed. Note, don't use the test you have there (the truthy test), just explicitly look for something other than undefined.