Skip to main content

Kirill Dmitrenko

Member since Apr 28, 2014

Recent Blog Comments By Kirill Dmitrenko

  • Coercing Non-Truthy Values In JavaScript

    Posted on Apr 29, 2014 at 7:09 AM

    @Ben, My pleasure. I personally try to avoid sophisticated type casts in my code. As John Carmack says, if something can be done wrong, it eventually will be. And, I think, type coercing is such situation.... read more »

  • Coercing Non-Truthy Values In JavaScript

    Posted on Apr 28, 2014 at 4:23 PM

    > After some Googling, I found some resources that seemed to indicate that > when JavaScript compares an Object to a non-Object, it does so by first > converting the Object into a "primitive" using this kind of approach: > object.toString().valueOf() No, all relative expressio... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel