How would you detect a cycle in an object graph | JavaScript Interview | asif.to Tutorials