article

Objects

[WHAT]

  1. [] everything is an object
    1. [] that is the most important thing you can know about programming in js
  2. [] objects have ...
    1. [] properties - are the things that make up an object
    2. [] methods - are the things an object can do 
    3. [] events - the things that happen to an object
  3. [] programming in javascript is ...
    1. [] working with existing objects
    2. [] creating/adding your own new objects

[WHY]

  1. [] understanding that everything in javascript programming is an object
  2. [] understanding how to work with objects

[WHERE]

  1. [] OOP in javascript

[WHEN]

  1. []

[EXAMPLE]

  1. [] <script>
  2. [] location.href = 'http://sospep.com';
  3. [] </script>

[HOW-TO]

  1. [] open your web browser - your browser which has many browser objects that you can interact with programmatically, initially ...
  2. [] loads your home page - which is a web page (the document object ) that consists of many document objects that you can interact with programmatically using the
  3. [] javascript language - which contains many language objects that you can interact with programmatically 

[REFERENCE]

  1. [] OOP in JS
  2. [] OOP 

 


[EXAMPLE]

  1. ] var myCar = new Car();
  2. ] myCar.start();
  3. ] myCar.drive();
  4. ] myCar.stop();

 

Details Photos Edit more

Details

ID: 2694

NAME: 003-objects

DESCRIPTION: by Don Sagrott - everything is an object

AUTHOR: article.author/s

EDITOR: article.editor/s

PUBLISHER: article.publisher/s

STATUS: Write

PRIORITY: 0

OWNER ID: 75

Content Photos Edit more

photos

page_photo

actions

Email Email-Owner SMS and