|
I was testing the # operator on a table and got some strange results.
The chunk used was:
t = {10, 20, nil, 40}
print(#t) --> 4 (should not be 2?)
t = {10, nil, nil, 40}
print(#t) --> 4 (should not be 1?)
Is this an expected result or a bug?
Regards,
Romeu.