ion-js
ion-js copied to clipboard
Need to remove all undefined behavior logic to throw early
Replace with null values or refactor out.
Impl shouldn't check (or rely upon) undefined
. Consider use of undefined
to be a bug; use null
(or a value) instead.
Note that some APIs currently return undefined
; update to return a value or null
, if appropriate. E.g.:
- Reader.next()