Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
2 answers
635 views

JavaScript function for to deep copy objects

I've made this function for to get a deep copy (recursive copy) of objects. => Sub-objects aren't references to the sub-objects of the original object. Instead they are objects on their own. Here's ...
michael.zech's user avatar
  • 4,972
1 vote
1 answer
151 views

Object-to-array flattening function

I have written a function that is designed to convert an object into an array of key/pair values ("flattening it") like so: Input ...
Jack Wilsdon's user avatar
  • 1,661