Mozilla.com

  1. JavaScript Overview
Table of contents
  1. 1. DSN_XP.BKnow.JavaScript.
Table of contents
  1. 1. DSN_XP.BKnow.JavaScript.

DSN_XP.BKnow.JavaScript.

JavaScript is OO language?

.Definición: In order to consider any language as oo language you must consider in himself the class notion as the minimal structural module for design and construction Oject Oriented <DSN_XP>.

<1>Read in the original document <source>:
"JavaScript has a prototype-based object model instead of the more common class-based object model.".

<DSN_XP>
JavaScript is not a OO language, his notion of "Class" is drived by data type notion as considered like primitive objects.

See Predefined_Core_Objects.

<DSN_XP.Diseño_OO>
The minimum relation that exists between two objects is the knowledge of its public interface, this relation denominates Client Supplier. Any rupture of this interface will throw an exception.

<2>Read in the original document <source>:
"You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed."
<3>See Data types

Page last modified 05:24, 26 Sep 2007 by DSN XP

Tags:

Files (0)