F
FAQ server
-----------------------------------------------------------------------
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:
<URL: http://dmitrysoshnikov.com/ecmascript/chapter-7-2-oop-ecmascript-implementation/>
The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/
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:
<URL: http://dmitrysoshnikov.com/ecmascript/chapter-7-2-oop-ecmascript-implementation/>
The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/