Dojo Dijit and HTML5 in Real world applications/University/2. Advanced Java script I

From PMISwiki
Jump to navigation Jump to search

!!! Not released for use yet !!! This is the second lesson on the HTML5, CSS3 and Advanced Javascript course.

2. Advanced Java script I

The first part of the lecture is based on the objects and arrays examples.

Objects and arrays

JavaScript is a class-less programming language. However, yet Object Oriented Programming (OOP) is widely used in JavaScript. The following provide an insight to the way to make OOP in JavaScript.

Objects vs. Arrays

JavaScript is object oriented. All variables are objects. Even Arrays are objects. Objects may be defined in three different ways:

<script type="text/javascript">

</script>

How Weird are JavaScript Arrays?


References

Document History

Version Date Author Status Purpose of update
1 14 Feb 2012 PSA Draft Not released.
2 22 Mar 2012 PSA Draft Not released