Wednesday, September 25, 2019

Check to see if something is a reference in JavaScript.

Stack Overflow has this example of checking to see if two variables have the same reference:

var thesame = obj1===obj2;

I remember Bryan Harclerode piping up about this a couple times when I was at the @hand corporation. I didn't know what he was talking about at the time. I just stared at him with a blank look on my face. I guess he just meant comparing pointers. I thought of this today. The conversations from five years back the context was dot, dot, dotting out to things.

 
 

Addendum 9/26/2019: The last sentance should really read: "In the conversations from five years back the context was dot, dot, dotting out to things."

No comments:

Post a Comment