Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Use typeof value == 'undefined' for defined()...

#191

Use typeof value !== 'undefined' for defined() and other functions instead of value !== undefined, because the latter won't work when for some strange reason undefined actually is defined.

Reported by Douwe M. · February 15th, 2010 @ 10:04 PM

State: resolved
Milestone: 1.5.5 Release
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit

    good point, it also not framesafe

    February 17th, 2010 @ 12:14 AM

  2. MadRabbit
    MadRabbit
    • Milestone set to 1.5.5 Release

    February 17th, 2010 @ 12:17 AM

  3. MadRabbit
    MadRabbit
    • State changed from new to resolved

    fixed

    February 22nd, 2010 @ 11:48 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.