Use typeof value == 'undefined' for defined()...
Reported by Douwe M. | February 15th, 2010 @ 10:04 PM | in 1.5.5 Release
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.
Comments and changes to this ticket
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RightJS Core Tickets