mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-02 08:35:07 +08:00
9 lines
390 B
JavaScript
9 lines
390 B
JavaScript
const value = JSON.stringify();
|
|
console.log(value, typeof value, value === undefined);
|
|
console.log(JSON.stringify() === undefined);
|
|
function missing() { return JSON.stringify(); }
|
|
function observe(value) { console.log(value, typeof value); }
|
|
const record = { value: JSON.stringify() };
|
|
console.log(missing(), missing() === undefined, record.value === undefined);
|
|
observe(JSON.stringify());
|