Better HN
topnewbestaskshowjobs
Log inSign up

slurpme

20 karma · joined Feb 17, 2008 (18y ago) · 7 submissions

Submissions

comment 18y ago · link · parent

I use http://polliwog.sourceforge.net open source, runs on Java. Not suitable for large websites since it provides a LOT of information about your site.

comment 18y ago · link · parent

Yes I think you are right about that, too early in the morning for me...

Makes me wonder what the rules are for coercion though, that is does it pick null to coerce or 0?

comment 18y ago · link · parent

I know, I mentioned it as the new object because it's one of the few situations I know of where you might use a newline after the return keyword.

I understand what you mean, in this case though it would be helpful if the interpreter detects the statement as being not reachable since it's after the return.

comment 18y ago · link · parent

But isn't the context a Boolean expression, so the 0 would be converted to a Boolean as well?

comment 18y ago · link · parent

How about this surprise which caught me out a couple of days ago, try:

function hello () {

    return
    {
       value : 10
    };
}

window.alert (hello ().value);

It burps in FF and IE...

6.

Booty call: Music has-beens line up to sue The Pirate Bay(arstechnica.com ↗)

2 points · by slurpme · 18y ago · discuss

7.

First look: latest Google Android SDK a big improvement(arstechnica.com ↗)

18 points · by slurpme · 18y ago · 1 comment