Can someone explain the concept of "null" to me?
JSON.stringify(myJsonObj, null, 2)
I've noticed that some people use "undefined" or "null."
I couldn't grasp the purpose of "null," so I decided to remove it.
JSON.stringify(myJsonObj)
Subsequently, I started encountering this error:
TypeError: Converting circular structure to JSON
at JSON.stringify (<anonymous>)
Could this be the root cause?
What exactly is the function of Null?