How to determine whether a js object has a circular reference

Guess you like

Origin juejin.im/post/7343867039022071859