Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
accoil
8 months ago
|
parent
|
context
|
favorite
| on:
Mistakes engineers make in large established codeb...
It will stop when it gets something that's not a string due to
while(typeof susJsonString==='string') { susJsonString = JSON.parse(susJsonString);
as it'll keep reassigning and parsing until gets a non string back (or alternatively error out if the string is not valid json)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: