blakeembrey/javascript-stringify

TypeError: Cannot read property 'split' of undefined

Closed this issue · 2 comments

Hey @blakeembrey,

It seems you reverted my pr in 77add28.

The problem is that value is not undefined, but stringify(value) is.

Thanks. I would have added tests, but I got lazy with everything going on. I'll add a test next time.

Tests added with 36ac373. I'll have to ask for those in the future to avoid dumb mistakes like this 😄