4. Javascript script syntax has nothing to do with Java
except that is looks familiar
Javascript execution environment is completely different from Java envs
Javascript community was built mainly by millennials
Java is getting old
12. var me = {
name: ‘Jana’,
age: 32,
children: ‘Maybe some day’,
pets: [{
name: ‘Baron’,
species: ‘dog’
}]
};
13. Java has classes, methods, constructors
Javascript has functions
Function is an object
(actually with each function declaration we create couple of objects )
Every Function can have methods
Functions better NOT be declared in if or for statements
16. Javascript, in Crockford’s own words, it’s conflicted in its nature
functional language
with dynamic typing and prototypal inheritance
Inheritance demo
17. AngularJs MVW framework
HTML augmentation, both ways binding, templating
Single page applications, rich and fluid UI’s
AnuglarJs demo