Open phtj opened 5 years ago
implement inline functions for deep equal and deep copy for dicts or lists of arbitrary depth
could use JSON.parse(JSON.stringify(o)) or lodash https://lodash.com/docs/4.17.15#cloneDeep https://lodash.com/docs/4.17.15#isEqual
implement inline functions for deep equal and deep copy for dicts or lists of arbitrary depth
could use JSON.parse(JSON.stringify(o)) or lodash https://lodash.com/docs/4.17.15#cloneDeep https://lodash.com/docs/4.17.15#isEqual