Comment by zahlman
> If you gave this to jsonriver one byte at a time it would yield this sequence of values:
Does it create a new value each time, or just mutate the existing one and keep yielding it?
> If you gave this to jsonriver one byte at a time it would yield this sequence of values:
Does it create a new value each time, or just mutate the existing one and keep yielding it?
It mutates the existing value and yields it again (unless the toplevel value is a string, because strings are immutable in JS).