JavaScript: jslint, data types, “null” and “undefined”
February 27, 2008 on 1:52 pm | In JavaScript | No CommentsStraight to the point: If you want to get one thing out of this article, get this:
In JavaScript, “null” is not the same as “undefined”.
This was what costed me some debug time recently when working with JavaScript at my job. I will talk about how I came across this issue, because there are various valuable aspects of this story that could be worth reading for those of you frontend developers.
Actually, scratch that, if you don’t know about jslint, do read the following section too. It is useful, and you won’t regret it.
Continue reading JavaScript: jslint, data types, “null” and “undefined”…
Special announcement: Badware is gone
February 13, 2008 on 2:53 am | In General | No CommentsSo, I was checking my blog’s statistics and found it weird how it suddenly had so much fewer visitors and no traffic referral from Google for a couple of days.
Then I was reminded that my Wordpress hasn’t been updated in a while. So I ran a check in the source code of my blog for some common hacks (usually an <iframe> code inserted somewhere), and guess what, I found some.
This lead to Google then listing my site as “harmful”. This is a special announcement entry to tell you all (however few regular readers I have) that the badware is removed, and Wordpress is updated to the latest and greatest.
This is also a post to tell you that, if you own a Wordpress blog running a version older than 2.3.2, you should update. More info could be found on this Wordpress support thread. I hope Google didn’t scare anyone off (especially potential new visitors of my blog) by saying it’s a harmful site. And I hope they do the review as soon as possible, as I submitted it for review arleady.
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^
Save in del.icio.us
StumbleUpon this