UNPKG

@jkcfg/std

Version:

jk standard library

15 lines (14 loc) 274 B
/** * @module std */ export function log(value) { if (value === undefined) { V8Worker2.log('undefined'); return; } if (typeof value === 'string') { V8Worker2.log(value); return; } V8Worker2.log(JSON.stringify(value)); }