Lines Matching refs:PROPERTY
24 ECMA Section: 11.2.1 Property Accessors
55 whose property name is Result(6).
67 var TITLE = "Property Accessors";
74 var PROPERTY = new Array();
79 PROPERTY[p++] = new Property( new String("hi"), "hi", "hi", NaN );
80 PROPERTY[p++] = new Property( new Number(NaN), NaN, "NaN", NaN );
81 PROPERTY[p++] = new Property( new Number(3), 3, "3", 3 );
82 PROPERTY[p++] = new Property( new Boolean(true), true, "true", 1 );
83 PROPERTY[p++] = new Property( new Boolean(false), false, "false", 0 );
85 for ( var i = 0, RESULT; i < PROPERTY.length; i++ ) {
87 PROPERTY[i].object + ".valueOf()",
88 PROPERTY[i].value,
89 eval( "PROPERTY[i].object.valueOf()" ) );
92 PROPERTY[i].object + ".toString()",
93 PROPERTY[i].string,
94 eval( "PROPERTY[i].object.toString()" ) );
119 function Property( object, value, string, number ) {