File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1081,8 +1081,8 @@ function toJsonReplacer(key, value) {
1081
1081
* stripped since angular uses this notation internally.
1082
1082
*
1083
1083
* @param {Object|Array|Date|string|number } obj Input to be serialized into JSON.
1084
- * @param {boolean|number= } pretty If set to true, the JSON output will contain newlines and whitespace.
1085
- * If set to an integer, the JSON output will contain that many spaces per indentation (the default is 2) .
1084
+ * @param {boolean|number } [ pretty=2] If set to true, the JSON output will contain newlines and whitespace.
1085
+ * If set to an integer, the JSON output will contain that many spaces per indentation.
1086
1086
* @returns {string|undefined } JSON-ified string representing `obj`.
1087
1087
*/
1088
1088
function toJson ( obj , pretty ) {
You can’t perform that action at this time.
0 commit comments