Which statement about the toJSON method is true?( )
It allows an object to determine its own JSON representation
All three statements are true
It is internally called by JSON.stringify()
It customizes JSON stringification behavior
Which statement about the toJSON method is true?( )
It allows an object to determine its own JSON representation
All three statements are true
It is internally called by JSON.stringify()
It customizes JSON stringification behavior