Charlie
unread,Nov 19, 2009, 12:33:42 AM11/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jasmine
Hi all,
I came across an instance today where the variable "undefined" had
actually been defined to a value, and it prevented Jasmine from
executing successfully. Since undefined is just a variable, it can be
defined to whatever someone likes, such as:
var undefined = 5;
I would suggest having a line like:
var undefined;
somewhere in Jasmine such that it is in scope of the rest of the
framework to prevent an error like this from impacting Jasmine.
Thanks!
Charlie Meyer
Department of Computer Science
University of Illinois Urbana-Champaign