From: FAQ server on 31 May 2010 19:00 ----------------------------------------------------------------------- FAQ Topic - What is a native object? ----------------------------------------------------------------------- A native object is any object whose semantics are fully defined by ECMA-262. Some native objects are built-in; others, such as user-defined objects, may be constructed during the execution of an ECMAScript program. Example: // Native built-in objects: var m = Math, // Built-in Math object. slice = Array.prototype.slice, // Built-in native method. o = {}, // Native user-defined object. f = function(){}, // Native user-defined function. d = new Date(), a = [], e = new Error("My Message."); See also: http://dmitrysoshnikov.com/ecmascript/chapter-7-2-oop-ecmascript-implementation/ The complete comp.lang.javascript FAQ is at http://jibbering.com/faq/ -- The sendings of these daily posts are proficiently hosted by http://www.pair.com.
|
Pages: 1 Prev: [node.js] Testing a javascript function on disk-based data Next: Page action |