Skip to content

Commit 83c196b

Browse files
committed
ada
1 parent 9d007b5 commit 83c196b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/resources/json-circular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const _parseRecursive = (obj, processed, path) => {
7878
*/
7979
export const parse = string => {
8080
const json = JSON.parse(string);
81-
if (!json.v) return json;
81+
if (!json?.v) return json;
8282
return _parseRecursive(json, {}, '');
8383
};
8484

0 commit comments

Comments
 (0)