test.js
//define a class named myObject inherited from Object
function myObject(){
_mp = myObject.prototype =
new Object();
//define an attribute "text"
_mp.text = "this is a text";
}
test.aspx,
//call "myObject" in the script block
var aa = new inHeritClass;
//belowing is the value from the watch window
- _mp {...} Object
text "this is a text" String
inHeritClass {...} Object
- aa = new inHeritClass {...} Object
text "this is a text" String