I am passing null to JSON.parse() and although the first parameter is documented saying that it should be a string value, it still works to supply null
.
How come this does not throw an error even though even though the documentation state this is for strings and can this be safely and reliable used in multiple browsers?