Node.js deepEqual, conditional debug comment
Everyday Helpful Things
May 11, 2023
Node.JS deepEqual
Not everyone knows that Node.js has out of the box tools to compare 2 objects by value. In fact, here is the code for you:
Easy, easy!
Conditional debug comment
An example of how you can switch code blocks by changing just 1 character when debugging applications:
For debugging is very handy, in my opinion