<< BACK
This example is from Mozilla. In Internet Explorer, the "Function" and "Caller" always equal [undefined].


utility.crsh() ERROR. Code: tfi1...START

theFunctionItself: You really shouldn't do that! :' (

Details

Code: tfi1
Function: theFunctionItself()
Caller: theCallingFunction()

Argument(s):
0  [8]
1  [27]
2  [undefined]
3  [Here's a string parameter.] 

The function

function theFunctionItself(i_1, i_2, v_ariable, s_tring) {
    crsh("tfi1", theFunctionItself, "theFunctionItself:  You really shouldn't do that!  :'  (");
} 

The calling function

function theCallingFunction() {
    theFunctionItself(8, 27, undefined, "Here's a string parameter.");
} 

utility.crsh() ERROR. Code: tfi1...END