edit-article
Home
Up
Delete
Article Name:
Article Description:
by Don Sagrott - everything is an object
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">Objects</h1> <h2>[WHAT]</h2> <ol> <li><span style="background-color: #ffff00;"><strong>[] everything is an object</strong></span></li> <ol> <li>[] that is the most important thing you can know about programming in js</li> </ol> <li><strong>[] objects have ...</strong></li> <ol> <li>[] properties - are the things that make up an object</li> <li>[] methods - are the things an object can do </li> <li>[] events - the things that happen to an object</li> </ol> <li><strong>[] programming in javascript is ...</strong></li> <ol> <li>[] working with existing objects</li> <li>[] creating/adding your own new objects</li> </ol></ol> <h2>[WHY]</h2> <ol> <li>[] understanding that everything in javascript programming is an object</li> <li>[] understanding how to work with objects</li> </ol> <h2>[WHERE]</h2> <ol> <li>[] <a href="/view/article?id=1678" target="_blank">OOP in javascript</a></li> </ol> <h2>[WHEN]</h2> <ol> <li>[]</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>[] <script></li> <li>[] location.href = 'http://sospep.com';</li> <li>[] </script></li> </ol> <h2>[HOW-TO]</h2> <ol> <li>[] open your web browser - your browser which has many <span style="text-decoration: underline;"><a href="/view/articles?id=398" target="_blank">browser objects</a></span> that <em>you can interact with programmatically</em>, initially ...</li> <li>[] loads your home page - which is a web page (the document object ) that consists of many document objects that <em>you can interact with programmatically</em> using the</li> <li>[] javascript language - which contains many <span style="text-decoration: underline;"><a href="/view/articles?id=396" target="_blank">language objects</a></span> that <em>you can interact with programmatically</em> </li> </ol> <h2>[REFERENCE]</h2> <ol> <li>[] <a href="/view/article?id=1678" target="_blank">OOP in JS</a></li> <li>[] <a href="/view/chapters?id=184" target="_blank">OOP</a> </li> </ol> <p> </p> <hr /> <h2>[EXAMPLE]</h2> <ol> <li>] var myCar = new Car();</li> <li>] myCar.start();</li> <li>] myCar.drive();</li> <li>] myCar.stop();<span class="crayon-sy"><br /></span></li> </ol> <h1 style="text-align: center;"> </h1>