I am making an ajax call using jquery to a PHP script that sends back a json encoded string as an object.
{
"errors":{
"name":"Name is empty",
"gender":"Gender is empty"
},
"success":false,
"message":"FAIL"
}
This is the json returned and since I'm using dataType: 'json'
within my ajax call it is converted to an object which I have then console logged to observe.
I see that key/value pairs are in there but also something (prototypes) that wasn't a part of the json string. What is it and where did come from? Are these functions I could use?
I am attaching a screenshot as typing it would mess it up.