Skip to content

Commit 67e4881

Browse files
committed
docs(core): update fromJson return values
Dates are not returned, so remove Date from list of return values. Closes angular#3070
1 parent 1cdcddb commit 67e4881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ function toJson(obj, pretty) {
950950
* Deserializes a JSON string.
951951
*
952952
* @param {string} json JSON string to deserialize.
953-
* @returns {Object|Array|Date|string|number} Deserialized thingy.
953+
* @returns {Object|Array|string|number} Deserialized thingy.
954954
*/
955955
function fromJson(json) {
956956
return isString(json)

0 commit comments

Comments
 (0)