Lines 78-101
Link Here
|
78 |
Object.prototype.isPrototypeOf = function (V){return true;}; |
78 |
Object.prototype.isPrototypeOf = function (V){return true;}; |
79 |
/** |
79 |
/** |
80 |
* function propertyIsEnumerable(V) |
80 |
* function propertyIsEnumerable(V) |
81 |
* @type String |
81 |
* @type Boolean |
82 |
* @memberOf Object |
82 |
* @memberOf Object |
83 |
* @param {Object} V |
83 |
* @param {Object} V |
84 |
* @returns {String} |
84 |
* @returns {Boolean} |
85 |
* @throws DOMException |
85 |
* @throws DOMException |
86 |
* @see Object |
86 |
* @see Object |
87 |
* @since Standard ECMA-262 3rd. Edition |
87 |
* @since Standard ECMA-262 3rd. Edition |
88 |
* @since Level 2 Document Object Model Core Definition. |
88 |
* @since Level 2 Document Object Model Core Definition. |
89 |
*/ |
89 |
*/ |
90 |
Object.prototype.propertyIsEnumerable = function(V){return "";}; |
90 |
Object.prototype.propertyIsEnumerable = function(V){return true;}; |
91 |
/** |
91 |
/** |
92 |
* Property constructor |
92 |
* Property constructor |
93 |
* @type String |
93 |
* @type Function |
94 |
* @memberOf Object |
94 |
* @memberOf Object |
95 |
* @since Standard ECMA-262 3rd. Edition |
95 |
* @since Standard ECMA-262 3rd. Edition |
96 |
* @since Level 2 Document Object Model Core Definition. |
96 |
* @since Level 2 Document Object Model Core Definition. |
97 |
*/ |
97 |
*/ |
98 |
Object.prototype.constructor=""; |
98 |
Object.prototype.constructor= new Function(); |
99 |
|
99 |
|
100 |
/** |
100 |
/** |
101 |
* Property Class |
101 |
* Property Class |
Lines 193-205
Link Here
|
193 |
* static function fromCharCode(chars) |
193 |
* static function fromCharCode(chars) |
194 |
* @type String |
194 |
* @type String |
195 |
* @returns {String} |
195 |
* @returns {String} |
196 |
* @param {Array} chars |
196 |
* @param {Number} charCode |
197 |
* @memberOf String |
197 |
* @memberOf String |
198 |
* @see String |
198 |
* @see String |
199 |
* @since Standard ECMA-262 3rd. Edition |
199 |
* @since Standard ECMA-262 3rd. Edition |
200 |
* @since Level 2 Document Object Model Core Definition. |
200 |
* @since Level 2 Document Object Model Core Definition. |
201 |
*/ |
201 |
*/ |
202 |
String.fromCharCode=function(chars){}; |
202 |
String.fromCharCode=function(charCode){return "";}; |
203 |
/** |
203 |
/** |
204 |
* Property length |
204 |
* Property length |
205 |
* @type Number |
205 |
* @type Number |
Lines 223-249
Link Here
|
223 |
String.prototype.charAt = function(pos){return "";}; |
223 |
String.prototype.charAt = function(pos){return "";}; |
224 |
/** |
224 |
/** |
225 |
* function charCodeAt(pos) |
225 |
* function charCodeAt(pos) |
226 |
* @type String |
226 |
* @type Number |
227 |
* @memberOf String |
227 |
* @memberOf String |
228 |
* @param {Number} pos |
228 |
* @param {Number} pos |
229 |
* @returns {String} |
229 |
* @returns {Number} |
230 |
* @throws DOMException |
230 |
* @throws DOMException |
231 |
* @see String |
231 |
* @see String |
232 |
* @since Standard ECMA-262 3rd. Edition |
232 |
* @since Standard ECMA-262 3rd. Edition |
233 |
* @since Level 2 Document Object Model Core Definition. |
233 |
* @since Level 2 Document Object Model Core Definition. |
234 |
*/ |
234 |
*/ |
235 |
String.prototype.charCodeAt= function(pos){return "";}; |
235 |
String.prototype.charCodeAt= function(pos){return 0;}; |
236 |
/** |
236 |
/** |
237 |
* function concat() |
237 |
* function concat() |
238 |
* @type String |
238 |
* @type String |
239 |
* @memberOf String |
239 |
* @memberOf String |
|
|
240 |
* @param {String} value |
240 |
* @returns {String} |
241 |
* @returns {String} |
241 |
* @throws DOMException |
242 |
* @throws DOMException |
242 |
* @see String |
243 |
* @see String |
243 |
* @since Standard ECMA-262 3rd. Edition |
244 |
* @since Standard ECMA-262 3rd. Edition |
244 |
* @since Level 2 Document Object Model Core Definition. |
245 |
* @since Level 2 Document Object Model Core Definition. |
245 |
*/ |
246 |
*/ |
246 |
String.prototype.concat= function(){return "";}; |
247 |
String.prototype.concat= function(value){return "";}; |
247 |
/** |
248 |
/** |
248 |
* function indexOf(searchString, position) |
249 |
* function indexOf(searchString, position) |
249 |
* @type Number |
250 |
* @type Number |
Lines 271-299
Link Here
|
271 |
*/ |
272 |
*/ |
272 |
String.prototype.lastIndexOf = function(searchString, position){return 1;}; |
273 |
String.prototype.lastIndexOf = function(searchString, position){return 1;}; |
273 |
/** |
274 |
/** |
274 |
* function localeCompare(that) |
275 |
* function localeCompare(otherString) |
275 |
* @type Boolean |
276 |
* @type Number |
276 |
* @memberOf String |
277 |
* @memberOf String |
277 |
* @param {String} that |
278 |
* @param {String} otherString |
278 |
* @returns {Boolean} |
279 |
* @returns {Number} |
279 |
* @throws DOMException |
280 |
* @throws DOMException |
280 |
* @see String |
281 |
* @see String |
281 |
* @since Standard ECMA-262 3rd. Edition |
282 |
* @since Standard ECMA-262 3rd. Edition |
282 |
* @since Level 2 Document Object Model Core Definition. |
283 |
* @since Level 2 Document Object Model Core Definition. |
283 |
*/ |
284 |
*/ |
284 |
String.prototype.localeCompare = function(that){return true;}; |
285 |
String.prototype.localeCompare = function(otherString){return 0;}; |
285 |
/** |
286 |
/** |
286 |
* function match(regexp) |
287 |
* function match(regexp) |
287 |
* @type Boolean |
288 |
* @type Array |
288 |
* @memberOf String |
289 |
* @memberOf String |
289 |
* @param {String} regexp |
290 |
* @param {String} regexp |
290 |
* @returns {Boolean} |
291 |
* @returns {Array} |
291 |
* @throws DOMException |
292 |
* @throws DOMException |
292 |
* @see String |
293 |
* @see String |
293 |
* @since Standard ECMA-262 3rd. Edition |
294 |
* @since Standard ECMA-262 3rd. Edition |
294 |
* @since Level 2 Document Object Model Core Definition. |
295 |
* @since Level 2 Document Object Model Core Definition. |
295 |
*/ |
296 |
*/ |
296 |
String.prototype.match = function(regexp){return true;}; |
297 |
String.prototype.match = function(regexp){return [];}; |
297 |
/** |
298 |
/** |
298 |
* function replace(searchValue, replaceValue) |
299 |
* function replace(searchValue, replaceValue) |
299 |
* @type String |
300 |
* @type String |
Lines 460-498
Link Here
|
460 |
Number.POSITIVE_INFINITY=0; |
461 |
Number.POSITIVE_INFINITY=0; |
461 |
/** |
462 |
/** |
462 |
* function toFixed(fractionDigits) |
463 |
* function toFixed(fractionDigits) |
463 |
* @type Number |
464 |
* @type String |
464 |
* @memberOf Number |
465 |
* @memberOf Number |
465 |
* @param {Number} fractionDigits |
466 |
* @param {Number} fractionDigits |
466 |
* @type Number |
467 |
* @returns {String} |
467 |
* @returns {Number} |
|
|
468 |
* @since Standard ECMA-262 3rd. Edition |
468 |
* @since Standard ECMA-262 3rd. Edition |
469 |
* @since Level 2 Document Object Model Core Definition. |
469 |
* @since Level 2 Document Object Model Core Definition. |
470 |
*/ |
470 |
*/ |
471 |
Number.prototype.toFixed=function(fractionDigits){}; |
471 |
Number.prototype.toFixed=function(fractionDigits){return "";}; |
472 |
/** |
472 |
/** |
473 |
* function toExponential(fractionDigits) |
473 |
* function toExponential(fractionDigits) |
474 |
* @type Number |
474 |
* @type String |
475 |
* @memberOf Number |
475 |
* @memberOf Number |
476 |
* @param {Number} fractionDigits |
476 |
* @param {Number} fractionDigits |
477 |
* @type Number |
477 |
* @returns {String} |
478 |
* @returns {Number} |
|
|
479 |
* @since Standard ECMA-262 3rd. Edition |
478 |
* @since Standard ECMA-262 3rd. Edition |
480 |
* @since Level 2 Document Object Model Core Definition. |
479 |
* @since Level 2 Document Object Model Core Definition. |
481 |
|
480 |
|
482 |
*/ |
481 |
*/ |
483 |
Number.prototype.toExponential=function(fractionDigits){}; |
482 |
Number.prototype.toExponential=function(fractionDigits){return "";}; |
484 |
/** |
483 |
/** |
485 |
* function toPrecision(precision) |
484 |
* function toPrecision(precision) |
486 |
* @type Number |
485 |
* @type String |
487 |
* @memberOf Number |
486 |
* @memberOf Number |
488 |
* @param {Number} precision |
487 |
* @param {Number} fractionDigits |
489 |
* @type Number |
488 |
* @returns {String} |
490 |
* @returns {Number} |
|
|
491 |
* @since Standard ECMA-262 3rd. Edition |
489 |
* @since Standard ECMA-262 3rd. Edition |
492 |
* @since Level 2 Document Object Model Core Definition. |
490 |
* @since Level 2 Document Object Model Core Definition. |
493 |
|
491 |
|
494 |
*/ |
492 |
*/ |
495 |
Number.prototype.toPrecision=function(fractionDigits){}; |
493 |
Number.prototype.toPrecision=function(fractionDigits){return "";}; |
496 |
/** |
494 |
/** |
497 |
* Object Boolean() |
495 |
* Object Boolean() |
498 |
* @super Object |
496 |
* @super Object |
Lines 636-642
Link Here
|
636 |
* function unshift(items) |
634 |
* function unshift(items) |
637 |
* @type Array |
635 |
* @type Array |
638 |
* @returns {Array} |
636 |
* @returns {Array} |
639 |
* @param {Array} items |
637 |
* @param {Array} start |
640 |
* @memberOf Array |
638 |
* @memberOf Array |
641 |
* @see Array |
639 |
* @see Array |
642 |
* @since Standard ECMA-262 3rd. Edition |
640 |
* @since Standard ECMA-262 3rd. Edition |
Lines 658-665
Link Here
|
658 |
Function.prototype = new Object(); |
656 |
Function.prototype = new Object(); |
659 |
|
657 |
|
660 |
/** |
658 |
/** |
661 |
* function apply (thisArg, argArray) |
659 |
* function apply (thisObject, argArray) |
662 |
* @param {Object} thisArg |
660 |
* @param {Object} thisObject |
663 |
* @param {Array} argArray |
661 |
* @param {Array} argArray |
664 |
* @type Object |
662 |
* @type Object |
665 |
* @returns {Object} |
663 |
* @returns {Object} |
Lines 667-685
Link Here
|
667 |
* @since Level 2 Document Object Model Core Definition. |
665 |
* @since Level 2 Document Object Model Core Definition. |
668 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
666 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
669 |
*/ |
667 |
*/ |
670 |
Function.prototype.apply=function(thisArg, argArray){}; |
668 |
Function.prototype.apply=function(thisObject, argArray){}; |
671 |
/** |
669 |
/** |
672 |
* function call (thisArg, argArray) |
670 |
* function call (thisObject, args) |
673 |
* |
671 |
* |
674 |
* @param {Object} thisArg |
672 |
* @param {Object} thisObject |
675 |
* @param {Array} argsArray |
673 |
* @param {Object} args |
676 |
* @type Object |
674 |
* @type Object |
677 |
* @returns {Object} |
675 |
* @returns {Object} |
678 |
* @since Standard ECMA-262 3rd. Edition |
676 |
* @since Standard ECMA-262 3rd. Edition |
679 |
* @since Level 2 Document Object Model Core Definition. |
677 |
* @since Level 2 Document Object Model Core Definition. |
680 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
678 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
681 |
*/ |
679 |
*/ |
682 |
Function.prototype.call=function(thisArg, argsArray){}; |
680 |
Function.prototype.call=function(thisObject, args){}; |
683 |
/** |
681 |
/** |
684 |
* property length |
682 |
* property length |
685 |
* @type Number |
683 |
* @type Number |
Lines 1176-1207
Link Here
|
1176 |
/** |
1174 |
/** |
1177 |
* function setMonth(month,date) |
1175 |
* function setMonth(month,date) |
1178 |
* @memberOf Date |
1176 |
* @memberOf Date |
1179 |
* @type Date |
1177 |
* @type Number |
1180 |
* @returns {Date} |
1178 |
* @returns {Number} |
1181 |
* @param {Number} date |
1179 |
* @param {Number} date |
1182 |
* @param {Number} month |
1180 |
* @param {Number} month |
1183 |
* @since Standard ECMA-262 3rd. Edition |
1181 |
* @since Standard ECMA-262 3rd. Edition |
1184 |
* @since Level 2 Document Object Model Core Definition. |
1182 |
* @since Level 2 Document Object Model Core Definition. |
1185 |
|
1183 |
|
1186 |
*/ |
1184 |
*/ |
1187 |
Date.prototype.setMonth=function(month,date){}; |
1185 |
Date.prototype.setMonth=function(month,date){return 1;}; |
1188 |
/** |
1186 |
/** |
1189 |
* function setUTCMonth(month,date) |
1187 |
* function setUTCMonth(month,date) |
1190 |
* @memberOf Date |
1188 |
* @memberOf Date |
1191 |
* @type Date |
1189 |
* @type Number |
1192 |
* @returns {Date} |
1190 |
* @returns {Number} |
1193 |
* @param {Number} date |
1191 |
* @param {Number} date |
1194 |
* @param {Number} month |
1192 |
* @param {Number} month |
1195 |
* @since Standard ECMA-262 3rd. Edition |
1193 |
* @since Standard ECMA-262 3rd. Edition |
1196 |
* @since Level 2 Document Object Model Core Definition. |
1194 |
* @since Level 2 Document Object Model Core Definition. |
1197 |
|
1195 |
|
1198 |
*/ |
1196 |
*/ |
1199 |
Date.prototype.setUTCMonth=function(month,date){}; |
1197 |
Date.prototype.setUTCMonth=function(month,date){return 1;}; |
1200 |
/** |
1198 |
/** |
1201 |
* function setFullYear(month,date) |
1199 |
* function setFullYear(month,date) |
1202 |
* @memberOf Date |
1200 |
* @memberOf Date |
1203 |
* @type Date |
1201 |
* @type Number |
1204 |
* @returns {Date} |
1202 |
* @returns {Number} |
1205 |
* @param {Number} date |
1203 |
* @param {Number} date |
1206 |
* @param {Number} month |
1204 |
* @param {Number} month |
1207 |
* @param {Number} year |
1205 |
* @param {Number} year |
Lines 1209-1220
Link Here
|
1209 |
* @since Level 2 Document Object Model Core Definition. |
1207 |
* @since Level 2 Document Object Model Core Definition. |
1210 |
|
1208 |
|
1211 |
*/ |
1209 |
*/ |
1212 |
Date.prototype.setFullYear=function(year, month,date){}; |
1210 |
Date.prototype.setFullYear=function(year, month,date){return 1;}; |
1213 |
/** |
1211 |
/** |
1214 |
* function setUTCFullYear(month,date) |
1212 |
* function setUTCFullYear(month,date) |
1215 |
* @memberOf Date |
1213 |
* @memberOf Date |
1216 |
* @type Date |
1214 |
* @type Number |
1217 |
* @returns {Date} |
1215 |
* @returns {Number} |
1218 |
* @param {Number} date |
1216 |
* @param {Number} date |
1219 |
* @param {Number} month |
1217 |
* @param {Number} month |
1220 |
* @param {Number} year |
1218 |
* @param {Number} year |
Lines 1222-1228
Link Here
|
1222 |
* @since Level 2 Document Object Model Core Definition. |
1220 |
* @since Level 2 Document Object Model Core Definition. |
1223 |
|
1221 |
|
1224 |
*/ |
1222 |
*/ |
1225 |
Date.prototype.setUTCFullYear=function(year, month,date){}; |
1223 |
Date.prototype.setUTCFullYear=function(year, month,date){return 1}; |
1226 |
/** |
1224 |
/** |
1227 |
* function toUTCString() |
1225 |
* function toUTCString() |
1228 |
* @memberOf Date |
1226 |
* @memberOf Date |
Lines 1240-1246
Link Here
|
1240 |
* @memberOf Global |
1238 |
* @memberOf Global |
1241 |
* @since Standard ECMA-262 3rd. Edition |
1239 |
* @since Standard ECMA-262 3rd. Edition |
1242 |
* @since Level 2 Document Object Model Core Definition. |
1240 |
* @since Level 2 Document Object Model Core Definition. |
1243 |
|
|
|
1244 |
*/ |
1241 |
*/ |
1245 |
function Global(){}; |
1242 |
function Global(){}; |
1246 |
Global.prototype=new Object(); |
1243 |
Global.prototype=new Object(); |
Lines 1581-1605
Link Here
|
1581 |
/** |
1578 |
/** |
1582 |
* function max(arg) |
1579 |
* function max(arg) |
1583 |
* @memberOf Math |
1580 |
* @memberOf Math |
1584 |
* @param {Array} arg |
1581 |
* @param {Number} args |
1585 |
* @type Number |
1582 |
* @type Number |
1586 |
* @returns {Number} |
1583 |
* @returns {Number} |
1587 |
* @since Standard ECMA-262 3rd. Edition |
1584 |
* @since Standard ECMA-262 3rd. Edition |
1588 |
* @since Level 2 Document Object Model Core Definition. |
1585 |
* @since Level 2 Document Object Model Core Definition. |
1589 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
1586 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
1590 |
*/ |
1587 |
*/ |
1591 |
Math.max=function(arg){}; |
1588 |
Math.max=function(args){}; |
1592 |
/** |
1589 |
/** |
1593 |
* function min(arg) |
1590 |
* function min(arg) |
1594 |
* @memberOf Math |
1591 |
* @memberOf Math |
1595 |
* @param {Array} arg |
1592 |
* @param {Number} args |
1596 |
* @type Number |
1593 |
* @type Number |
1597 |
* @returns {Number} |
1594 |
* @returns {Number} |
1598 |
* @since Standard ECMA-262 3rd. Edition |
1595 |
* @since Standard ECMA-262 3rd. Edition |
1599 |
* @since Level 2 Document Object Model Core Definition. |
1596 |
* @since Level 2 Document Object Model Core Definition. |
1600 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
1597 |
* @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html |
1601 |
*/ |
1598 |
*/ |
1602 |
Math.min=function(arg){}; |
1599 |
Math.min=function(args){}; |
1603 |
/** |
1600 |
/** |
1604 |
* function pow(x,y) |
1601 |
* function pow(x,y) |
1605 |
* @memberOf Math |
1602 |
* @memberOf Math |