Home | History | Annotate | Download | only in function

Lines Matching full:tostring

23     File Name:          tostring-1.js
24 Section: Function.toString
27 Since the behavior of Function.toString() is implementation-dependent,
28 toString tests for function are not in the ECMA suite.
30 Currently, an attempt to parse the toString output for some functions
37 var SECTION = "tostring-1";
40 var TITLE = "Function.toString()";
50 t2 = new TestFunction( "ToString", "object", tab+"return object + \"\";" );
62 "stub.toString()",
64 stub.toString() );
67 "ToString.toString()",
69 ToString.toString() );
72 "Add.toString()",
74 Add.toString() );
77 "noop.toString()",
78 t4.toString(),
79 noop.toString() );
82 "f.toString()",
83 t5.toString(),
84 f.toString() );
96 function ToString( object ) {
128 this.arguments = args.toString();
131 /* the format of Function.toString() in JavaScript 1.2 is:
140 this.toString = new Function( "return this.value" );