On 09.06.2011 01:23, RobG wrote:
A function's this keyword is never "empty", it*always* references an
object.
... unless you're running in strict mode.
(function () {
"use strict";
console.log(typeof this); // undefined
})();
--
stefan
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/[email protected]/
To search via a non-Google archive, visit here:
http://www.mail-archive.com/[email protected]/
To unsubscribe from this group, send email to
[email protected]