> Previously, when this.units_ was null, the return was undefined.

So this was a bug in the original code. The comment about the use of `instanceof` still stands.