Javascript Follies

This other day I’m coding and stuff – in javascript! I asked a co-worker who is a REAL javascript programmer for a quick review. Here’s how that went:

On Nov 2, 2012, at 12:40 PM, Jim S wrote:

I suppose you could use the ======= operator, just make sure you don’t use the ================ operator.  That checks to see if two values are equal, are of the same type, are at the same location in memory, were conceived of by the same developer, exist in the same time stream, and some other criteria I forget.  It’s a bit overkill, if you ask me.

     On Nov 2, 2012, at 12:20 PM, Val wrote:

     […] It just felt like there could be some neat js shortcut (something like a ======= operator?) 

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: