mozilla

Compare Revisions

this

Change Revisions

Revision 418367:

Revision 418367 by Sheppy on

Revision 430857:

Revision 430857 by justjust on

Title:
this
this
Slug:
Web/JavaScript/Reference/Operators/this
Web/JavaScript/Reference/Operators/this
Tags:
"JavaScript Reference", "NeedsTechnicalReview", "NeedsBrowserCompatibility", "JavaScript"
"JavaScript Reference", "NeedsTechnicalReview", "NeedsBrowserCompatibility", "JavaScript"
Content:

Revision 418367
Revision 430857
t14      In most cases, the vaue of <code>this</code> is determined t14      In most cases, the value of <code>this</code> is determined
>by how a function is called. It can't be set by assignment during> by how a function is called. It can't be set by assignment durin
> execution, and it can be different each time the function is cal>g execution, and it can be different each time the function is ca
>led. ES5 introduced the <code><a href="/en-US/docs/JavaScript/Ref>lled. ES5 introduced the <code><a href="/en-US/docs/JavaScript/Re
>erence/Global_Objects/Function/bind" title="en-US/docs/JavaScript>ference/Global_Objects/Function/bind" title="en-US/docs/JavaScrip
>/Reference/Global_Objects/Function/bind">bind</a></code> method t>t/Reference/Global_Objects/Function/bind">bind</a></code> method 
>o <a href="/en-US/docs/JavaScript/Reference/Operators/this#Bound_>to <a href="/en-US/docs/JavaScript/Reference/Operators/this#Bound
>functions" title="https://developer.mozilla.org/en-US/docs/JavaSc>_functions" title="https://developer.mozilla.org/en-US/docs/JavaS
>ript/Reference/Operators/Special/this#Bound_functions">set the va>cript/Reference/Operators/Special/this#Bound_functions">set the v
>lue of a function's <code>this</code> regardless of how it's call>alue of a function's <code>this</code> regardless of how it's cal
>ed</a>.>led</a>.

Back to History