If I have a variable `foo` which === `undefined`, ...
# suitescript
c
If I have a variable
foo
which ===
undefined
, and I `log.audit('undefined foo', foo)`why does the execution log turn up blank?
b
what are you expecting
s
I suspect it's because
foo
is being
JSON.stringified()
which results in nothing
👍 1
c
@stalbert are you saying NS does this behind the scenes?
s
NS stringifies the details argument if it's not already a string, just like NFT has done for years 🙂
c
@stalbert Thanks for the heads up 🙂