16

if(a == null) {
a = null;
}

Thanks for that!

Comments
  • 0
    I've seen a lot of snippets like that on here.

    Not sure if I don't review code enough, or computer science as a class has drastically fucked with our youth.
  • 1
    Nah a=b. Definitely
  • 0
    Major Payne voice:
    - Who are you?
    - Null, sir.
    - Null should speak louder!
  • 0
    Shorter :

    a = a == null ? null : a;
Add Comment