Skip to content

Update index.ts#1

Open
huang-1234 wants to merge 1 commit intoFE-PIRL:mainfrom
huang-1234:patch-1
Open

Update index.ts#1
huang-1234 wants to merge 1 commit intoFE-PIRL:mainfrom
huang-1234:patch-1

Conversation

@huang-1234
Copy link

No description provided.

@huang-1234
Copy link
Author

safe-json-parse-and-stringify 这个包又一些异常bug
safeJsonParse
!!JSON.parse(str) === false 时,会默认取 defaultValue
例如:jsonParse(0, ‘defaultValue’) 的结果是 ‘defaultValue’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant