diff --git a/src/JSON.js b/src/JSON.js index b2647104..0cbe6b2d 100644 --- a/src/JSON.js +++ b/src/JSON.js @@ -34,7 +34,7 @@ function toJsonArray(buf, obj, pretty, stack){ if (obj === _null) { buf.push($null); } else if (obj instanceof RegExp) { - buf.push(angular['String']['quoteUnicode'](obj.toString())); + buf.push(angular['String']['quoteUnicode'](obj.toString())); } else if (type === $function) { return; } else if (type === $boolean) { @@ -55,7 +55,7 @@ function toJsonArray(buf, obj, pretty, stack){ for(var i=0; i