loading...

re: A Little Bit of JavaScript: classnames VIEW POST

TOP OF THREAD FULL DISCUSSION
re: A good, to-the-point article. 👐 Question: why use void 0 instead of undefined, which has clear meaning?
 

I've picked up the habit from my current team to use void 0. My understanding is that it is supposed to be safer. They are essentially interchangeable in modern browsers. I agree it'd be clearer to use undefined.

code of conduct - report abuse