JavaScript: a global this?!

submit to reddit

In the mood of JavaScript quiz, let me ask you what’s the result of:

console.log(this === window);

Related posts:

  1. JavaScript closures in brief
  2. How to detect a variable existence in JavaScript?
  3. Quick Look at JavaScript Objects

You are a GREAT developer? Click here to answer the weekly quiz!

This entry was posted in javascript and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">