Fix serialization issue for 0n. by momocow · Pull Request #156 · yahoo/serialize-javascript
Falsy values except 0n are directly serializable by JSON.stringify; therefore exclude 0n from the early return which checks for falsy values.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.