Microsoft® JScript this Statement |
| Language Reference |
|
Refers to the current object.
this.property
The this keyword is typically used in object constructors. It allows a way to refer to the current object. For example:
function Car( color, make, model ) { this.color = color; this.make = make; this.model = model; }In this example, this refers to the newly created Car object, and assigns values to three properties.For client versions of JScript, this refers to the window object if used outside of the context of any other object.
© 1996 by Microsoft Corporation.
file: /Techref/language/asp/js/214.htm, 1KB, , updated: 1996/11/22 10:11, local time: 2024/11/8 19:37,
3.135.212.183:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/language/asp/js/214.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.