Microsoft® JScript this Statement |
Language Reference Version 1 |
Refers to the current object.
this.property
The this keyword is typically used in object constructors to refer to the current object. In the following example, this refers to the newly created Car object, and assigns values to three properties:
function Car(color, make, model) { this.color = color; this.make = make; this.model = model; }For client versions of JScript, this refers to the window object if used outside of the context of any other object.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js768.htm, 2KB, , updated: 1997/9/30 03:45, local time: 2024/11/1 01:30,
3.142.54.153: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://massmind.ecomorder.com/Techref/language/jscript/js768.htm"> this Statement</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.