Have you ever found yourself trying to
console.log() output, only to get mad when it doesn't really work with long Objects and Arrays?
1 - Right-click the
2 - Click "Store as global variable"
3 - Run
Ctrl-V it wherever you want
Success! You may find that useful when debugging complex data structures or request payloads.
Let me know in the comments what else
copy() might be useful for! 😄
Cover photo by Paolo Nicolello on Unsplash
Why the cover photo is a monkey? Well, I make the same face when I'm debugging.
Follow me on Twitter and let me know you liked this article!
And if you really liked it, make sure to share it with your friends, that'll help me a lot 😄