Readme
Clone JS Objects without worrying about Circular
data and key names not suitable for MongoDB
Details here
Use
npm install clone-data
const cloneData = ;...let myData = cloneData; // encode / decodelet query = $ne: true ;query = cloneData; // { [$]ne: true }query = cloneData; // { $ne: true }
Origin
The code is based (or copied from):
Original author
The original author for that code is Yurij Mikhalevich