you can replicate this error in your dev console b...
# suitecommerce
s
you can replicate this error in your dev console by doing
JSON.parse(undefined)