@darkgl/slow-json-stringify
Version:
The fastest JSON stringifier
16 lines • 421 B
JavaScript
const _select = (chunks) => (value, index) => {
const chunk = chunks[index];
if (typeof value !== 'undefined') {
if (chunk.flag) {
return chunk.prevUndef + value;
}
return chunk.pure + value;
}
chunks[index + 1].flag = true;
if (chunk.flag) {
return chunk.bothUndef;
}
return chunk.isUndef;
};
export { _select };
//# sourceMappingURL=_select.js.map