Difference between this and that in javascript

Posted on 2011-09-14
Last Modified: 2012-05-12

Some one asked me this question. I know about this. But I am not sure about that.

Please advice

Karan Gupta
Question by:KaranGupta
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 40

Accepted Solution

gurvinder372 earned 167 total points
ID: 36540816
there is no 'that' keyword in javascript i believe

Author Comment

ID: 36540822

Yes even I think so, but I asked this question because someone asked me this.
Let us see what other experts will say about this. Thanks for the response :)

Karan Gupta
LVL 17

Assisted Solution

sonawanekiran earned 167 total points
ID: 36540831
@gurvinder372 is correct. There is no keyword. Someone who asked this question, might want to confuse you OR to check your knowledge about JS/Jquery.
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

LVL 13

Assisted Solution

ansudhindra earned 166 total points
ID: 36540832
looks funny.. may the questioner wanted to confuse you, there is no "that" keyword in the javascript language.
You can create a variable with the name "that"

Expert Comment

ID: 36540835

i agree with karan,because there is no keyword "that " in javascript  .

Author Closing Comment

ID: 36540838
Thanks for the support

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question