Y
Hacker News
new
|
ask
|
show
|
jobs
by
HL33tibCe7
213 days ago
It returns the zero value for all types, including arrays (which is nil).
nil is equivalent to the empty array, which is why the rest of the code works as it does.