shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
decycle
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.object
This method simply remove the circular references in the passed object
Params
- obj*-Object
The object to process
Return
- -Object
The new object circular references free
Example
import { decycle } from '@blackbyte/sugar/object';
decycle({
something: 'cool',
with: 'circular references',
//..
});Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space