Javascript

 

 

 

Lets talk about Javascript

Once upon a time ....

  • 'Mocha'  - May 95
  • LiveScript  September 95
  • JavaScript December 95
  • MS JScript August 96
  • Ecma 262 - 97 
  • 3rd Edition - 99
  • 2007 Crossroads 
  • 2008 Incremental Update - 5
  • Harmony and ES.next
  • 2014 ES 6

Equality Check

Good Practice  

Always use ===

Functions and Variables

Good Practice 

Always use "use strict"

 

WTH is This ?

What is this ?

  • The object
  • The new object
  • The owner has been set

Good Practice 

Name your functions!

Good Practice 

Try not using self = this

Closures

Good Practices - Code Modularity

Reading Material

http://eloquentjavascript.net/

 

http://www.amazon.in/Javascript-Good-Parts-D-Crockford/dp/0596517742

 

https://addyosmani.com/resources/essentialjsdesignpatterns/book/

 

 

Javascript- The weird parts

By Abhik Mitra

Javascript- The weird parts

  • 954