Monthly Archives: June 2011

JavaScript Undeclared

So how does one determine whether a variable has been declared in JavaScript? I’ve seen two possible methods: 1) Use the in operator: 2) Use the hasOwnProperty() method of an object: What’s the difference between these two? The in operator … Continue reading

Posted in development | Tagged | Leave a comment