Skip to content

Conversation

@weswigham
Copy link
Member

Conceivably under strict mode in an environment without a global JSON object this would error before. I have no idea if such an environment exists. Picked from #5907.

@vladima
Copy link
Contributor

vladima commented Dec 3, 2015

👍 once Travis confirms that everything is ok

@mhegazy
Copy link
Contributor

mhegazy commented Dec 3, 2015

thanks!

weswigham added a commit that referenced this pull request Dec 3, 2015
Use typeof to check for presence of `JSON` global
@weswigham weswigham merged commit b14b7e9 into master Dec 3, 2015
@weswigham weswigham deleted the patch-stringify branch December 3, 2015 12:23
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants