This is also served to declare default values in functions.
Seemingly, the solution is:
Alas,Code:if (myvar == undefined)
A solution is given for this:Originally Posted by [url=http://verens.com/archives/2005/07/25/isset-for-javascript/comment-page-1/#comment-1721]this blog comment[/url]
But I'd like to ask fellow posters here if it's really the right solutions.add a global def (with no value) for undefined, e.g.
var undefined;


Reply With Quote

Bookmarks